pub struct Line<'a> {
pub span: Span,
pub head: Vec<Spanned<Token<'a>>>,
pub eol: Span,
pub body: Option<Vec<Line<'a>>>,
}Fields§
§span: Span§head: Vec<Spanned<Token<'a>>>§eol: Span§body: Option<Vec<Line<'a>>>Implementations§
Trait Implementations§
source§impl<'a> PartialEq<Line<'a>> for Line<'a>
impl<'a> PartialEq<Line<'a>> for Line<'a>
impl<'a> StructuralPartialEq for Line<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Line<'a>
impl<'a> Send for Line<'a>
impl<'a> Sync for Line<'a>
impl<'a> Unpin for Line<'a>
impl<'a> UnwindSafe for Line<'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