pub struct FifoLevel { /* private fields */ }Implementations§
Source§impl FifoLevel
impl FifoLevel
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) -> FifoLevel
pub const fn new_with_raw_value(value: u8) -> FifoLevel
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 level(&self) -> u3
pub const fn with_level(&self, field_value: u3) -> Self
pub fn set_level(&mut self, field_value: u3)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FifoLevel
impl RefUnwindSafe for FifoLevel
impl Send for FifoLevel
impl Sync for FifoLevel
impl Unpin for FifoLevel
impl UnwindSafe for FifoLevel
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