#[repr(transparent)]pub struct TrngConfig(pub u32);
Expand description
TRNG ring oscillator length configuration
Tuple Fields§
§0: u32
Implementations§
Source§impl TrngConfig
impl TrngConfig
Sourcepub const fn rosc_len(&self) -> TrngConfigRoscLen
pub const fn rosc_len(&self) -> TrngConfigRoscLen
Set the length of the oscillator ring (= the number of inverters) out of four possible configurations.
Sourcepub fn set_rosc_len(&mut self, val: TrngConfigRoscLen)
pub fn set_rosc_len(&mut self, val: TrngConfigRoscLen)
Set the length of the oscillator ring (= the number of inverters) out of four possible configurations.
Trait Implementations§
Source§impl Clone for TrngConfig
impl Clone for TrngConfig
Source§fn clone(&self) -> TrngConfig
fn clone(&self) -> TrngConfig
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 TrngConfig
impl Default for TrngConfig
Source§fn default() -> TrngConfig
fn default() -> TrngConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrngConfig
impl PartialEq for TrngConfig
impl Copy for TrngConfig
impl Eq for TrngConfig
impl StructuralPartialEq for TrngConfig
Auto Trait Implementations§
impl Freeze for TrngConfig
impl RefUnwindSafe for TrngConfig
impl Send for TrngConfig
impl Sync for TrngConfig
impl Unpin for TrngConfig
impl UnwindSafe for TrngConfig
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
)