pub enum Module {
MotionController,
Mainboard,
Ams,
Toolhead,
Xcam,
Unknown(u8),
}Expand description
The functional module an HMS code originates from — (attr >> 24) & 0xFF.
Only the well-corroborated modules are named; the community-only ids
(0x10/0x11/0x12/0x18) are left as Module::Unknown until verified.
Variants§
MotionController
0x03 — motion controller.
Mainboard
0x05 — mainboard / AP.
Ams
0x07 — AMS.
Toolhead
0x08 — toolhead.
Xcam
0x0C — XCAM / micro-LiDAR (only on X1-class hardware).
Unknown(u8)
Trait Implementations§
impl Copy for Module
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
impl UnwindSafe for Module
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.