Enum g_code::emit::Token [−][src]
pub enum Token<'a> {
Field(Field<'a>),
Comment {
is_inline: bool,
inner: Cow<'a, str>,
},
Checksum(u8),
}Expand description
The output struct for gcode emission implementing std::fmt::Display
Any strings here are expected to have escaped characters, see https://www.reprap.org/wiki/G-code#Quoted_strings
Variants
Field(Field<'a>)Checksum(u8)Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Token<'a>impl<'a> UnwindSafe for Token<'a>Blanket Implementations
Mutably borrows from an owned value. Read more