Struct autd3_core::hardware_defined::RxGlobalHeader [−][src]
#[repr(C)]pub struct RxGlobalHeader { pub msg_id: u8, pub ctrl_flag: RxGlobalControlFlags, pub command: CommandType, pub mod_size: u8, pub mod_data: [u8; 124], }
Fields
msg_id: u8ctrl_flag: RxGlobalControlFlagscommand: CommandTypemod_size: u8mod_data: [u8; 124]Auto Trait Implementations
impl RefUnwindSafe for RxGlobalHeaderimpl Send for RxGlobalHeaderimpl Sync for RxGlobalHeaderimpl Unpin for RxGlobalHeaderimpl UnwindSafe for RxGlobalHeaderBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> boolChecks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SSUse with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SPThe inclusion map: converts self to the equivalent element of its superset.