pub enum GcodeEvent {
AlertM300,
CoolingM245,
DwellG4,
EstopM112,
FilamentChangeM600,
FilamentChangeM701,
FilamentChangeM702,
HomeG28,
PowerOnM80,
PowerOffM81,
}Variants§
AlertM300
CoolingM245
DwellG4
EstopM112
FilamentChangeM600
FilamentChangeM701
FilamentChangeM702
HomeG28
PowerOnM80
PowerOffM81
Trait Implementations§
Source§impl Clone for GcodeEvent
impl Clone for GcodeEvent
Source§fn clone(&self) -> GcodeEvent
fn clone(&self) -> GcodeEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GcodeEvent
impl Debug for GcodeEvent
Source§impl Default for GcodeEvent
impl Default for GcodeEvent
Source§fn default() -> GcodeEvent
fn default() -> GcodeEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GcodeEvent
impl<'de> Deserialize<'de> for GcodeEvent
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
Source§impl Hash for GcodeEvent
impl Hash for GcodeEvent
Source§impl Ord for GcodeEvent
impl Ord for GcodeEvent
Source§fn cmp(&self, other: &GcodeEvent) -> Ordering
fn cmp(&self, other: &GcodeEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GcodeEvent
impl PartialEq for GcodeEvent
Source§impl PartialOrd for GcodeEvent
impl PartialOrd for GcodeEvent
Source§impl Serialize for GcodeEvent
impl Serialize for GcodeEvent
impl Copy for GcodeEvent
impl Eq for GcodeEvent
impl StructuralPartialEq for GcodeEvent
Auto Trait Implementations§
impl Freeze for GcodeEvent
impl RefUnwindSafe for GcodeEvent
impl Send for GcodeEvent
impl Sync for GcodeEvent
impl Unpin for GcodeEvent
impl UnwindSafe for GcodeEvent
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