Struct Ais31conf0
#[repr(transparent)]pub struct Ais31conf0(pub u32);
Expand description
AIS31 configuration register 0.
Tuple Fields§
§0: u32
Implementations§
§impl Ais31conf0
impl Ais31conf0
pub const fn startupthreshold(&self) -> u16
pub const fn startupthreshold(&self) -> u16
Start-up test threshold.
pub fn set_startupthreshold(&mut self, val: u16)
pub fn set_startupthreshold(&mut self, val: u16)
Start-up test threshold.
pub const fn onlinethreshold(&self) -> u16
pub const fn onlinethreshold(&self) -> u16
Online threshold.
pub fn set_onlinethreshold(&mut self, val: u16)
pub fn set_onlinethreshold(&mut self, val: u16)
Online threshold.
Trait Implementations§
§impl Clone for Ais31conf0
impl Clone for Ais31conf0
§fn clone(&self) -> Ais31conf0
fn clone(&self) -> Ais31conf0
Returns a copy 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 more§impl Default for Ais31conf0
impl Default for Ais31conf0
§fn default() -> Ais31conf0
fn default() -> Ais31conf0
Returns the “default value” for a type. Read more
§impl PartialEq for Ais31conf0
impl PartialEq for Ais31conf0
impl Copy for Ais31conf0
impl Eq for Ais31conf0
impl StructuralPartialEq for Ais31conf0
Auto Trait Implementations§
impl Freeze for Ais31conf0
impl RefUnwindSafe for Ais31conf0
impl Send for Ais31conf0
impl Sync for Ais31conf0
impl Unpin for Ais31conf0
impl UnwindSafe for Ais31conf0
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
)