#[repr(u8)]pub enum SysPixieModuleType {
CANPMSense = 1,
}Expand description
SysPixie Module types (Konrad Orlowski)
Variants§
CANPMSense = 1
Motorised point motor driver with current sense
Trait Implementations§
Source§impl Clone for SysPixieModuleType
impl Clone for SysPixieModuleType
Source§fn clone(&self) -> SysPixieModuleType
fn clone(&self) -> SysPixieModuleType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SysPixieModuleType
Source§impl Debug for SysPixieModuleType
impl Debug for SysPixieModuleType
impl Eq for SysPixieModuleType
Source§impl From<SysPixieModuleType> for u8
impl From<SysPixieModuleType> for u8
Source§fn from(enum_value: SysPixieModuleType) -> Self
fn from(enum_value: SysPixieModuleType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SysPixieModuleType
impl PartialEq for SysPixieModuleType
Source§fn eq(&self, other: &SysPixieModuleType) -> bool
fn eq(&self, other: &SysPixieModuleType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SysPixieModuleType
Source§impl TryFrom<u8> for SysPixieModuleType
impl TryFrom<u8> for SysPixieModuleType
Source§type Error = TryFromPrimitiveError<SysPixieModuleType>
type Error = TryFromPrimitiveError<SysPixieModuleType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SysPixieModuleType
impl TryFromPrimitive for SysPixieModuleType
const NAME: &'static str = "SysPixieModuleType"
type Primitive = u8
type Error = TryFromPrimitiveError<SysPixieModuleType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for SysPixieModuleType
impl UnsafeFromPrimitive for SysPixieModuleType
type Primitive = u8
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Transmutes into an enum from its primitive. Read more
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
👎Deprecated since 0.6.0:
Prefer to use unchecked_transmute_from, from_unchecked will be removed in a future release.
Transmutes into an enum from its primitive. Read more
Auto Trait Implementations§
impl Freeze for SysPixieModuleType
impl RefUnwindSafe for SysPixieModuleType
impl Send for SysPixieModuleType
impl Sync for SysPixieModuleType
impl Unpin for SysPixieModuleType
impl UnsafeUnpin for SysPixieModuleType
impl UnwindSafe for SysPixieModuleType
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