pub struct TokenLine<'s> {
pub comments: Vec<Comment<'s>>,
}
Expand description
A line of source input in a Token
.
Fields§
§comments: Vec<Comment<'s>>
Comments that appear before the newline.
Trait Implementations§
impl<'s> StructuralPartialEq for TokenLine<'s>
Auto Trait Implementations§
impl<'s> Freeze for TokenLine<'s>
impl<'s> RefUnwindSafe for TokenLine<'s>
impl<'s> Send for TokenLine<'s>
impl<'s> Sync for TokenLine<'s>
impl<'s> Unpin for TokenLine<'s>
impl<'s> UnwindSafe for TokenLine<'s>
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