#[repr(transparent)]pub struct RngcontrolHwconfig(pub u32);
Expand description
Hardware configuration register.
Tuple Fields§
§0: u32
Implementations§
Source§impl RngcontrolHwconfig
impl RngcontrolHwconfig
Sourcepub const fn numbofrings(&self) -> u8
pub const fn numbofrings(&self) -> u8
Generic g_NumRings value.
Sourcepub fn set_numbofrings(&mut self, val: u8)
pub fn set_numbofrings(&mut self, val: u8)
Generic g_NumRings value.
Sourcepub fn set_ais31full(&mut self, val: bool)
pub fn set_ais31full(&mut self, val: bool)
Generic g_AIS31Full value.
Trait Implementations§
Source§impl Clone for RngcontrolHwconfig
impl Clone for RngcontrolHwconfig
Source§fn clone(&self) -> RngcontrolHwconfig
fn clone(&self) -> RngcontrolHwconfig
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 RngcontrolHwconfig
impl Default for RngcontrolHwconfig
Source§fn default() -> RngcontrolHwconfig
fn default() -> RngcontrolHwconfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for RngcontrolHwconfig
impl PartialEq for RngcontrolHwconfig
impl Copy for RngcontrolHwconfig
impl Eq for RngcontrolHwconfig
impl StructuralPartialEq for RngcontrolHwconfig
Auto Trait Implementations§
impl Freeze for RngcontrolHwconfig
impl RefUnwindSafe for RngcontrolHwconfig
impl Send for RngcontrolHwconfig
impl Sync for RngcontrolHwconfig
impl Unpin for RngcontrolHwconfig
impl UnwindSafe for RngcontrolHwconfig
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
)