Struct gcode::Word[][src]

#[repr(C)]
pub struct Word { pub letter: char, pub value: f32, pub span: Span, }

A single Word in the gcode language (e.g. X-12.3).

Fields

The letter associated with this word (e.g. the X in X12.3).

The numeric part of the word.

The word's location in its original text.

Methods

impl Word
[src]

Create a new Word.

Trait Implementations

impl Debug for Word
[src]

Formats the value using the given formatter. Read more

impl Default for Word
[src]

Returns the "default value" for a type. Read more

impl Copy for Word
[src]

impl Clone for Word
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Word
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Word

impl Sync for Word