Enum g_code::emit::Token [−][src]
pub enum Token<'a> {
Field(Field<'a>),
Comment {
is_inline: bool,
inner: Cow<'a, str>,
},
Checksum(u8),
Whitespace(Cow<'a, str>),
Newline {
is_crlf: bool,
},
Percent,
}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
Tuple Fields of Field
0: Field<'a>Tuple Fields of Checksum
0: u8Fields of Newline
is_crlf: boolTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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