Struct stm32_metapac::rng::vals::RngConfig1
#[repr(transparent)]pub struct RngConfig1(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl RngConfig1
impl RngConfig1
§impl RngConfig1
impl RngConfig1
pub const fn from_bits(val: u8) -> RngConfig1
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for RngConfig1
impl Clone for RngConfig1
§fn clone(&self) -> RngConfig1
fn clone(&self) -> RngConfig1
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<RngConfig1> for u8
impl From<RngConfig1> for u8
§fn from(val: RngConfig1) -> u8
fn from(val: RngConfig1) -> u8
Converts to this type from the input type.
§impl From<u8> for RngConfig1
impl From<u8> for RngConfig1
§fn from(val: u8) -> RngConfig1
fn from(val: u8) -> RngConfig1
Converts to this type from the input type.
§impl Ord for RngConfig1
impl Ord for RngConfig1
§impl PartialEq for RngConfig1
impl PartialEq for RngConfig1
§fn eq(&self, other: &RngConfig1) -> bool
fn eq(&self, other: &RngConfig1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for RngConfig1
impl PartialOrd for RngConfig1
§fn partial_cmp(&self, other: &RngConfig1) -> Option<Ordering>
fn partial_cmp(&self, other: &RngConfig1) -> 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 RngConfig1
impl Eq for RngConfig1
impl StructuralEq for RngConfig1
impl StructuralPartialEq for RngConfig1
Auto Trait Implementations§
impl RefUnwindSafe for RngConfig1
impl Send for RngConfig1
impl Sync for RngConfig1
impl Unpin for RngConfig1
impl UnwindSafe for RngConfig1
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