pub struct LexInput<'a> {
pub file_id: u32,
pub text: &'a str,
}Expand description
The lexer input: one file’s text with its file id.
Fields§
§file_id: u32§text: &'a strAuto Trait Implementations§
impl<'a> Freeze for LexInput<'a>
impl<'a> RefUnwindSafe for LexInput<'a>
impl<'a> Send for LexInput<'a>
impl<'a> Sync for LexInput<'a>
impl<'a> Unpin for LexInput<'a>
impl<'a> UnsafeUnpin for LexInput<'a>
impl<'a> UnwindSafe for LexInput<'a>
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