pub struct Comment<'input> { /* private fields */ }
Expand description
A semicolon ;
followed by ASCII characters and terminated by a Newline
or the end of the file.
The semicolon is part of the inner representation.
Some machines/programs will display these comments as the g-code is executed.
Implementations§
Trait Implementations§
source§impl<'input> From<&Comment<'input>> for Token<'input>
impl<'input> From<&Comment<'input>> for Token<'input>
source§fn from(comment: &ParsedComment<'input>) -> Self
fn from(comment: &ParsedComment<'input>) -> Self
Converts to this type from the input type.
source§impl<'input> PartialEq for Comment<'input>
impl<'input> PartialEq for Comment<'input>
impl<'input> Eq for Comment<'input>
impl<'input> StructuralPartialEq for Comment<'input>
Auto Trait Implementations§
impl<'input> Freeze for Comment<'input>
impl<'input> RefUnwindSafe for Comment<'input>
impl<'input> Send for Comment<'input>
impl<'input> Sync for Comment<'input>
impl<'input> Unpin for Comment<'input>
impl<'input> UnwindSafe for Comment<'input>
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