Enum stm32_metapac::rng::vals::RngConfig2
#[repr(u8)]pub enum RngConfig2 {
CONFIGA_B = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
CONFIGA_B = 0
Recommended value for config A and B
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
§impl RngConfig2
impl RngConfig2
pub const fn from_bits(val: u8) -> RngConfig2
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for RngConfig2
impl Clone for RngConfig2
§fn clone(&self) -> RngConfig2
fn clone(&self) -> RngConfig2
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 more§impl From<RngConfig2> for u8
impl From<RngConfig2> for u8
§fn from(val: RngConfig2) -> u8
fn from(val: RngConfig2) -> u8
Converts to this type from the input type.
§impl From<u8> for RngConfig2
impl From<u8> for RngConfig2
§fn from(val: u8) -> RngConfig2
fn from(val: u8) -> RngConfig2
Converts to this type from the input type.
§impl Ord for RngConfig2
impl Ord for RngConfig2
§impl PartialEq for RngConfig2
impl PartialEq for RngConfig2
§impl PartialOrd for RngConfig2
impl PartialOrd for RngConfig2
impl Copy for RngConfig2
impl Eq for RngConfig2
impl StructuralPartialEq for RngConfig2
Auto Trait Implementations§
impl Freeze for RngConfig2
impl RefUnwindSafe for RngConfig2
impl Send for RngConfig2
impl Sync for RngConfig2
impl Unpin for RngConfig2
impl UnwindSafe for RngConfig2
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
)