Struct gcode::Word [−][src]
A single Word in the gcode language (e.g. X-12.3).
Fields
letter: char
The letter associated with this word (e.g. the X in X12.3).
value: f32
The numeric part of the word.
span: Span
The word's location in its original text.
Methods
impl Word[src]
impl WordTrait Implementations
impl Debug for Word[src]
impl Debug for Wordfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Word[src]
impl Default for Wordimpl Copy for Word[src]
impl Copy for Wordimpl Clone for Word[src]
impl Clone for Wordfn clone(&self) -> Word[src]
fn clone(&self) -> WordReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Word[src]
impl PartialEq for Word