pub enum Line<'line> {
Space,
Zone(Zone<'line>),
Continuation(ZoneInfo<'line>),
Rule(Rule<'line>),
Link(Link<'line>),
}Expand description
A type of valid line that has been parsed.
Variants§
Space
This line is empty.
Zone(Zone<'line>)
This line contains a zone definition.
Continuation(ZoneInfo<'line>)
This line contains a continuation of a zone definition.
Rule(Rule<'line>)
This line contains a rule definition.
Link(Link<'line>)
This line contains a link definition.
Implementations§
Trait Implementations§
impl<'line> Copy for Line<'line>
impl<'line> StructuralPartialEq for Line<'line>
Auto Trait Implementations§
impl<'line> Freeze for Line<'line>
impl<'line> RefUnwindSafe for Line<'line>
impl<'line> Send for Line<'line>
impl<'line> Sync for Line<'line>
impl<'line> Unpin for Line<'line>
impl<'line> UnwindSafe for Line<'line>
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