#[repr(transparent)]pub struct RngDebugEnInput(pub u32);
Expand description
Enable the RNG debug mode
Tuple Fields§
§0: u32
Implementations§
Source§impl RngDebugEnInput
impl RngDebugEnInput
Sourcepub const fn rng_debug_en(&self) -> bool
pub const fn rng_debug_en(&self) -> bool
- 1’b1 - debug mode is enabled. *1’b0 - debug mode is disabled
Sourcepub fn set_rng_debug_en(&mut self, val: bool)
pub fn set_rng_debug_en(&mut self, val: bool)
- 1’b1 - debug mode is enabled. *1’b0 - debug mode is disabled
Sourcepub fn set_reserved(&mut self, val: u32)
pub fn set_reserved(&mut self, val: u32)
RESERVED
Trait Implementations§
Source§impl Clone for RngDebugEnInput
impl Clone for RngDebugEnInput
Source§fn clone(&self) -> RngDebugEnInput
fn clone(&self) -> RngDebugEnInput
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 Debug for RngDebugEnInput
impl Debug for RngDebugEnInput
Source§impl Default for RngDebugEnInput
impl Default for RngDebugEnInput
Source§fn default() -> RngDebugEnInput
fn default() -> RngDebugEnInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for RngDebugEnInput
impl PartialEq for RngDebugEnInput
impl Copy for RngDebugEnInput
impl Eq for RngDebugEnInput
impl StructuralPartialEq for RngDebugEnInput
Auto Trait Implementations§
impl Freeze for RngDebugEnInput
impl RefUnwindSafe for RngDebugEnInput
impl Send for RngDebugEnInput
impl Sync for RngDebugEnInput
impl Unpin for RngDebugEnInput
impl UnwindSafe for RngDebugEnInput
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