Enum gcode::Mnemonic [−][src]
#[repr(C)]pub enum Mnemonic { ProgramNumber, ToolChange, MachineRoutine, General, }
A general command category.
Variants
ProgramNumberA program number (O555).
ToolChangeA tool change command (T6).
MachineRoutineA machine-specific routine (M3).
GeneralA general command (G01).
Trait Implementations
impl Debug for Mnemonic[src]
impl Debug for Mnemonicfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Mnemonic[src]
impl Copy for Mnemonicimpl Clone for Mnemonic[src]
impl Clone for Mnemonicfn clone(&self) -> Mnemonic[src]
fn clone(&self) -> MnemonicReturns 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 Mnemonic[src]
impl PartialEq for Mnemonicfn eq(&self, other: &Mnemonic) -> bool[src]
fn eq(&self, other: &Mnemonic) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Mnemonic[src]
impl Eq for Mnemonicimpl Hash for Mnemonic[src]
impl Hash for Mnemonicfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Default for Mnemonic[src]
impl Default for Mnemonicimpl Display for Mnemonic[src]
impl Display for Mnemonic