pub struct Line {
pub text: Vec<u8>,
pub file: usize,
pub line: u32,
}Expand description
A line of preprocessed text and where it came from.
Fields§
§text: Vec<u8>The text, without a line ending.
file: usizeWhich file it came from: an index for Preprocessor::file_name.
line: u32The number of the line in that file.
Trait Implementations§
impl Eq for Line
impl StructuralPartialEq for Line
Auto Trait Implementations§
impl Forget for Line
impl Freeze for Line
impl Move for Line
impl RefUnwindSafe for Line
impl Send for Linewhere
RawVecInner: Send,
impl Sync for Linewhere
RawVecInner: Sync,
impl Unpin for Line
impl UnsafeUnpin for Line
impl UnwindSafe for Linewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.