pub struct InputFile<'a> {
pub tokens: &'a [Token],
pub units: &'a [Unit],
}Expand description
Fields§
§tokens: &'a [Token]The file’s token stream.
units: &'a [Unit]The file’s unit boundaries, used as barriers and report anchors.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InputFile<'a>
impl<'a> RefUnwindSafe for InputFile<'a>
impl<'a> Send for InputFile<'a>
impl<'a> Sync for InputFile<'a>
impl<'a> Unpin for InputFile<'a>
impl<'a> UnsafeUnpin for InputFile<'a>
impl<'a> UnwindSafe for InputFile<'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