#[repr(transparent)]pub struct Ais31status(pub u32);
Expand description
AIS31 status register.
Tuple Fields§
§0: u32
Implementations§
Source§impl Ais31status
impl Ais31status
Sourcepub const fn numprelimalarms(&self) -> u16
pub const fn numprelimalarms(&self) -> u16
Number of preliminary noise alarms since counter was last cleared.
Sourcepub fn set_numprelimalarms(&mut self, val: u16)
pub fn set_numprelimalarms(&mut self, val: u16)
Number of preliminary noise alarms since counter was last cleared.
Sourcepub const fn prelimnoisealarmrng(&self) -> bool
pub const fn prelimnoisealarmrng(&self) -> bool
Last preliminary noise alarm occurred due to history value out of range.
Sourcepub fn set_prelimnoisealarmrng(&mut self, val: bool)
pub fn set_prelimnoisealarmrng(&mut self, val: bool)
Last preliminary noise alarm occurred due to history value out of range.
Sourcepub const fn prelimnoisealarmrep(&self) -> bool
pub const fn prelimnoisealarmrep(&self) -> bool
Last preliminary noise alarm occurred due to consecutive high Χ**2.
Sourcepub fn set_prelimnoisealarmrep(&mut self, val: bool)
pub fn set_prelimnoisealarmrep(&mut self, val: bool)
Last preliminary noise alarm occurred due to consecutive high Χ**2.
Trait Implementations§
Source§impl Clone for Ais31status
impl Clone for Ais31status
Source§fn clone(&self) -> Ais31status
fn clone(&self) -> Ais31status
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 moreSource§impl Default for Ais31status
impl Default for Ais31status
Source§fn default() -> Ais31status
fn default() -> Ais31status
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ais31status
impl PartialEq for Ais31status
impl Copy for Ais31status
impl Eq for Ais31status
impl StructuralPartialEq for Ais31status
Auto Trait Implementations§
impl Freeze for Ais31status
impl RefUnwindSafe for Ais31status
impl Send for Ais31status
impl Sync for Ais31status
impl Unpin for Ais31status
impl UnwindSafe for Ais31status
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
)