pub enum GCodeLine<'r> {
FileDemarcator,
GCode(GCode<'r>),
Comment(Comment<'r>),
DocComment(DocComment<'r>),
}
Variants§
FileDemarcator
The first non-blank line of a file may contain nothing but a percent sign, %, possibly surrounded by white space, and later in the file (normally at the end of the file) there may be a similar line.
http://linuxcnc.org/docs/html/gcode/overview.html
GCode(GCode<'r>)
Comment(Comment<'r>)
DocComment(DocComment<'r>)
Trait Implementations§
impl<'r> StructuralPartialEq for GCodeLine<'r>
Auto Trait Implementations§
impl<'r> Freeze for GCodeLine<'r>
impl<'r> RefUnwindSafe for GCodeLine<'r>
impl<'r> Send for GCodeLine<'r>
impl<'r> Sync for GCodeLine<'r>
impl<'r> Unpin for GCodeLine<'r>
impl<'r> UnwindSafe for GCodeLine<'r>
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