Enum git_ref_format_core::lit::SomeLit
source · pub enum SomeLit<'a> {
Known(KnownLit),
Any(Component<'a>),
}
Expand description
Either a KnownLit
or a name::Component
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SomeLit<'a>
impl<'a> RefUnwindSafe for SomeLit<'a>
impl<'a> Send for SomeLit<'a>
impl<'a> Sync for SomeLit<'a>
impl<'a> Unpin for SomeLit<'a>
impl<'a> UnwindSafe for SomeLit<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more