#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32
Implementations§
Source§impl Shorts
impl Shorts
Sourcepub const fn fielddetected_activate(&self) -> bool
pub const fn fielddetected_activate(&self) -> bool
Shortcut between event FIELDDETECTED and task ACTIVATE
Sourcepub fn set_fielddetected_activate(&mut self, val: bool)
pub fn set_fielddetected_activate(&mut self, val: bool)
Shortcut between event FIELDDETECTED and task ACTIVATE
Sourcepub const fn fieldlost_sense(&self) -> bool
pub const fn fieldlost_sense(&self) -> bool
Shortcut between event FIELDLOST and task SENSE
Sourcepub fn set_fieldlost_sense(&mut self, val: bool)
pub fn set_fieldlost_sense(&mut self, val: bool)
Shortcut between event FIELDLOST and task SENSE
Sourcepub const fn txframeend_enablerxdata(&self) -> bool
pub const fn txframeend_enablerxdata(&self) -> bool
Shortcut between event TXFRAMEEND and task ENABLERXDATA
Sourcepub fn set_txframeend_enablerxdata(&mut self, val: bool)
pub fn set_txframeend_enablerxdata(&mut self, val: bool)
Shortcut between event TXFRAMEEND and task ENABLERXDATA
Trait Implementations§
impl Copy for Shorts
impl Eq for Shorts
impl StructuralPartialEq for Shorts
Auto Trait Implementations§
impl Freeze for Shorts
impl RefUnwindSafe for Shorts
impl Send for Shorts
impl Sync for Shorts
impl Unpin for Shorts
impl UnwindSafe for Shorts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)