Struct Shorts
#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32
Implementations§
§impl Shorts
impl Shorts
pub const fn write_suspend(&self) -> bool
pub const fn write_suspend(&self) -> bool
Shortcut between event WRITE and task SUSPEND
pub fn set_write_suspend(&mut self, val: bool)
pub fn set_write_suspend(&mut self, val: bool)
Shortcut between event WRITE and task SUSPEND
pub const fn read_suspend(&self) -> bool
pub const fn read_suspend(&self) -> bool
Shortcut between event READ and task SUSPEND
pub fn set_read_suspend(&mut self, val: bool)
pub fn set_read_suspend(&mut self, val: bool)
Shortcut between event READ and task SUSPEND
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