#[repr(C)]pub struct Acr { /* private fields */ }
Implementations§
Source§impl Acr
impl Acr
pub const ZERO: Self = _
pub const fn new() -> Self
👎Deprecated: Use Acr::Default (or Acr::DEFAULT in const context) instead
Sourcepub const fn new_with_raw_value(value: u24) -> Acr
pub const fn new_with_raw_value(value: u24) -> Acr
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.
Sourcepub const fn builder() -> PartialAcr<0>
pub const fn builder() -> PartialAcr<0>
Creates a builder for this bitfield which ensures that all writable fields are initialized
pub const fn asf(&self) -> u10
pub const fn with_asf(&self, field_value: u10) -> Self
pub fn set_asf(&mut self, field_value: u10)
pub const fn load_arr(&self) -> bool
pub const fn with_load_arr(&self, field_value: bool) -> Self
pub fn set_load_arr(&mut self, field_value: bool)
pub const fn ramp(&self) -> bool
pub const fn with_ramp(&self, field_value: bool) -> Self
pub fn set_ramp(&mut self, field_value: bool)
pub const fn multiplier(&self) -> bool
pub const fn with_multiplier(&self, field_value: bool) -> Self
pub fn set_multiplier(&mut self, field_value: bool)
pub const fn step(&self) -> u2
pub const fn with_step(&self, field_value: u2) -> Self
pub fn set_step(&mut self, field_value: u2)
pub const fn arr(&self) -> u8
pub const fn with_arr(&self, field_value: u8) -> Self
pub fn set_arr(&mut self, field_value: u8)
Trait Implementations§
impl Copy for Acr
impl StructuralPartialEq for Acr
Auto Trait Implementations§
impl Freeze for Acr
impl RefUnwindSafe for Acr
impl Send for Acr
impl Sync for Acr
impl Unpin for Acr
impl UnwindSafe for Acr
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