Struct TrngConfig
#[repr(transparent)]pub struct TrngConfig(pub u32);Expand description
TRNG ring oscillator length configuration.
Tuple Fields§
§0: u32Implementations§
§impl TrngConfig
impl TrngConfig
pub 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.
pub const fn set_rosc_len(&mut self, val: TrngConfigRoscLen)
pub const 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§
§impl Clone for TrngConfig
impl Clone for TrngConfig
§fn clone(&self) -> TrngConfig
fn clone(&self) -> TrngConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrngConfig
§impl Debug for TrngConfig
impl Debug for TrngConfig
§impl Default for TrngConfig
impl Default for TrngConfig
§fn default() -> TrngConfig
fn default() -> TrngConfig
Returns the “default value” for a type. Read more
impl Eq for TrngConfig
§impl PartialEq for TrngConfig
impl PartialEq 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 UnsafeUnpin 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