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