pub(crate) enum IdentOrStr<'a> {
Str(&'a str),
Ident(Ident),
}
Variants§
Trait Implementations§
Source§impl PartialEq<Ident> for IdentOrStr<'_>
impl PartialEq<Ident> for IdentOrStr<'_>
Auto Trait Implementations§
impl<'a> Freeze for IdentOrStr<'a>
impl<'a> RefUnwindSafe for IdentOrStr<'a>
impl<'a> !Send for IdentOrStr<'a>
impl<'a> !Sync for IdentOrStr<'a>
impl<'a> Unpin for IdentOrStr<'a>
impl<'a> UnwindSafe for IdentOrStr<'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