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