Struct NoiseSource
#[repr(transparent)]pub struct NoiseSource(pub u32);Expand description
This register controls the ring oscillator circuit used as a noise source.
Tuple Fields§
§0: u32Implementations§
§impl NoiseSource
impl NoiseSource
pub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Enable or disable the noise source.
Trait Implementations§
§impl Clone for NoiseSource
impl Clone for NoiseSource
§fn clone(&self) -> NoiseSource
fn clone(&self) -> NoiseSource
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 NoiseSource
§impl Debug for NoiseSource
impl Debug for NoiseSource
§impl Default for NoiseSource
impl Default for NoiseSource
§fn default() -> NoiseSource
fn default() -> NoiseSource
Returns the “default value” for a type. Read more
impl Eq for NoiseSource
§impl PartialEq for NoiseSource
impl PartialEq for NoiseSource
impl StructuralPartialEq for NoiseSource
Auto Trait Implementations§
impl Freeze for NoiseSource
impl RefUnwindSafe for NoiseSource
impl Send for NoiseSource
impl Sync for NoiseSource
impl Unpin for NoiseSource
impl UnsafeUnpin for NoiseSource
impl UnwindSafe for NoiseSource
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