pub struct Ident {
pub span_range: Range<usize>,
pub raw: String,
pub to_string: String,
}
Expand description
Represents an identifier.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
raw: String
The raw string value of the identifier.
to_string: String
The string representation of the identifier.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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