pub struct Ident<'s> {
pub name: Cow<'s, str>,
pub raw: &'s str,
pub span: Span,
}Fields§
§name: Cow<'s, str>§raw: &'s str§span: SpanTrait Implementations§
impl<'s> StructuralPartialEq for Ident<'s>
Auto Trait Implementations§
impl<'s> Freeze for Ident<'s>
impl<'s> RefUnwindSafe for Ident<'s>
impl<'s> Send for Ident<'s>
impl<'s> Sync for Ident<'s>
impl<'s> Unpin for Ident<'s>
impl<'s> UnsafeUnpin for Ident<'s>
impl<'s> UnwindSafe for Ident<'s>
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