pub struct TriggerSlot { /* private fields */ }Implementations§
Source§impl TriggerSlot
impl TriggerSlot
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u8) -> TriggerSlot
pub const fn new_with_raw_value(value: u8) -> TriggerSlot
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
pub const fn trigger_slot(&self) -> u1
pub const fn with_trigger_slot(&self, field_value: u1) -> Self
pub fn set_trigger_slot(&mut self, field_value: u1)
Trait Implementations§
Source§impl Clone for TriggerSlot
impl Clone for TriggerSlot
Source§fn clone(&self) -> TriggerSlot
fn clone(&self) -> TriggerSlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TriggerSlot
impl Debug for TriggerSlot
impl Copy for TriggerSlot
Auto Trait Implementations§
impl Freeze for TriggerSlot
impl RefUnwindSafe for TriggerSlot
impl Send for TriggerSlot
impl Sync for TriggerSlot
impl Unpin for TriggerSlot
impl UnwindSafe for TriggerSlot
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