pub struct PrimitiveSpan {
pub start: usize,
pub end: usize,
}
Expand description
Primitive representation of a token’s span.
Fields§
§start: usize
Start position of the span.
end: usize
End position of the span.
Auto Trait Implementations§
impl Freeze for PrimitiveSpan
impl RefUnwindSafe for PrimitiveSpan
impl Send for PrimitiveSpan
impl Sync for PrimitiveSpan
impl Unpin for PrimitiveSpan
impl UnwindSafe for PrimitiveSpan
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