pub struct Sub<'source> {
pub lexeme: &'source str,
pub span: Range<usize>,
}Fields§
§lexeme: &'source str§span: Range<usize>Trait Implementations§
Source§impl<'source> Parse<'source> for Sub<'source>
impl<'source> Parse<'source> for Sub<'source>
impl<'source> StructuralPartialEq for Sub<'source>
Auto Trait Implementations§
impl<'source> Freeze for Sub<'source>
impl<'source> RefUnwindSafe for Sub<'source>
impl<'source> Send for Sub<'source>
impl<'source> Sync for Sub<'source>
impl<'source> Unpin for Sub<'source>
impl<'source> UnwindSafe for Sub<'source>
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