#[repr(C)]pub enum Mnemonic {
General = 0,
Miscellaneous = 1,
ProgramNumber = 2,
ToolChange = 3,
}Expand description
The general category for a GCode.
Variants§
General = 0
Preparatory commands, often telling the controller what kind of motion or offset is desired.
Miscellaneous = 1
Auxilliary commands.
ProgramNumber = 2
Used to give the current program a unique “name”.
ToolChange = 3
Tool selection.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mnemonic
impl<'de> Deserialize<'de> for Mnemonic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Mnemonic
impl Eq for Mnemonic
impl StructuralPartialEq for Mnemonic
Auto Trait Implementations§
impl Freeze for Mnemonic
impl RefUnwindSafe for Mnemonic
impl Send for Mnemonic
impl Sync for Mnemonic
impl Unpin for Mnemonic
impl UnsafeUnpin for Mnemonic
impl UnwindSafe for Mnemonic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more