Enum stm32_metapac::flash::vals::OptsrIoVddHslv
#[repr(u8)]pub enum OptsrIoVddHslv {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
High-speed IO at low VDD voltage feature disabled (VDD can exceed 2.7�V)
B_0X1 = 1
High-speed IO at low VDD voltage feature enabled (VDD remains below 2.7�V)
Implementations§
§impl OptsrIoVddHslv
impl OptsrIoVddHslv
pub const fn from_bits(val: u8) -> OptsrIoVddHslv
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrIoVddHslv
impl Clone for OptsrIoVddHslv
§fn clone(&self) -> OptsrIoVddHslv
fn clone(&self) -> OptsrIoVddHslv
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<OptsrIoVddHslv> for u8
impl From<OptsrIoVddHslv> for u8
§fn from(val: OptsrIoVddHslv) -> u8
fn from(val: OptsrIoVddHslv) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrIoVddHslv
impl From<u8> for OptsrIoVddHslv
§fn from(val: u8) -> OptsrIoVddHslv
fn from(val: u8) -> OptsrIoVddHslv
Converts to this type from the input type.
§impl Ord for OptsrIoVddHslv
impl Ord for OptsrIoVddHslv
§impl PartialEq for OptsrIoVddHslv
impl PartialEq for OptsrIoVddHslv
§fn eq(&self, other: &OptsrIoVddHslv) -> bool
fn eq(&self, other: &OptsrIoVddHslv) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for OptsrIoVddHslv
impl PartialOrd for OptsrIoVddHslv
§fn partial_cmp(&self, other: &OptsrIoVddHslv) -> Option<Ordering>
fn partial_cmp(&self, other: &OptsrIoVddHslv) -> 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 OptsrIoVddHslv
impl Eq for OptsrIoVddHslv
impl StructuralEq for OptsrIoVddHslv
impl StructuralPartialEq for OptsrIoVddHslv
Auto Trait Implementations§
impl RefUnwindSafe for OptsrIoVddHslv
impl Send for OptsrIoVddHslv
impl Sync for OptsrIoVddHslv
impl Unpin for OptsrIoVddHslv
impl UnwindSafe for OptsrIoVddHslv
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