Enum stm32_hal2::qspi::AddressSize
source · pub enum AddressSize {
A8 = 0,
A16 = 1,
A24 = 2,
A32 = 3,
}
Expand description
Address sizes used by the QSPI interface
Variants§
A8 = 0
8 byte address size.
A16 = 1
16 byte address size.
A24 = 2
24 byte address size.
A32 = 3
32 byte address size.
Trait Implementations§
source§impl Clone for AddressSize
impl Clone for AddressSize
source§fn clone(&self) -> AddressSize
fn clone(&self) -> AddressSize
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 moresource§impl PartialEq for AddressSize
impl PartialEq for AddressSize
source§fn eq(&self, other: &AddressSize) -> bool
fn eq(&self, other: &AddressSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddressSize
impl StructuralPartialEq for AddressSize
Auto Trait Implementations§
impl RefUnwindSafe for AddressSize
impl Send for AddressSize
impl Sync for AddressSize
impl Unpin for AddressSize
impl UnwindSafe for AddressSize
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