pub struct LexedItem {
pub range: Range<usize>,
pub inner: TokenOrComment,
}
Fields§
§range: Range<usize>
Range of the token or comment.
inner: TokenOrComment
Token or comment.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LexedItem
impl Send for LexedItem
impl Sync for LexedItem
impl Unpin for LexedItem
impl UnwindSafe for LexedItem
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