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
§fn eq(&self, other: &RngConfig2) -> bool
fn eq(&self, other: &RngConfig2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for RngConfig2
impl PartialOrd for RngConfig2
§fn partial_cmp(&self, other: &RngConfig2) -> Option<Ordering>
fn partial_cmp(&self, other: &RngConfig2) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RngConfig2
impl Eq for RngConfig2
impl StructuralEq for RngConfig2
impl StructuralPartialEq for RngConfig2
Auto Trait Implementations§
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