Enum stm32_metapac::flash::vals::OptcrSwapBank
#[repr(u8)]pub enum OptcrSwapBank {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
Implementations§
§impl OptcrSwapBank
impl OptcrSwapBank
pub const fn from_bits(val: u8) -> OptcrSwapBank
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptcrSwapBank
impl Clone for OptcrSwapBank
§fn clone(&self) -> OptcrSwapBank
fn clone(&self) -> OptcrSwapBank
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<OptcrSwapBank> for u8
impl From<OptcrSwapBank> for u8
§fn from(val: OptcrSwapBank) -> u8
fn from(val: OptcrSwapBank) -> u8
Converts to this type from the input type.
§impl From<u8> for OptcrSwapBank
impl From<u8> for OptcrSwapBank
§fn from(val: u8) -> OptcrSwapBank
fn from(val: u8) -> OptcrSwapBank
Converts to this type from the input type.
§impl Ord for OptcrSwapBank
impl Ord for OptcrSwapBank
§impl PartialEq for OptcrSwapBank
impl PartialEq for OptcrSwapBank
§impl PartialOrd for OptcrSwapBank
impl PartialOrd for OptcrSwapBank
impl Copy for OptcrSwapBank
impl Eq for OptcrSwapBank
impl StructuralPartialEq for OptcrSwapBank
Auto Trait Implementations§
impl Freeze for OptcrSwapBank
impl RefUnwindSafe for OptcrSwapBank
impl Send for OptcrSwapBank
impl Sync for OptcrSwapBank
impl Unpin for OptcrSwapBank
impl UnwindSafe for OptcrSwapBank
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)