Struct stm32l4xx_hal::qspi::QspiWriteCommand
source · [−]pub struct QspiWriteCommand<'a> {
pub instruction: Option<(u8, QspiMode)>,
pub address: Option<(u32, QspiMode)>,
pub alternative_bytes: Option<(&'a [u8], QspiMode)>,
pub dummy_cycles: u8,
pub data: Option<(&'a [u8], QspiMode)>,
pub double_data_rate: bool,
}
Fields
instruction: Option<(u8, QspiMode)>
address: Option<(u32, QspiMode)>
alternative_bytes: Option<(&'a [u8], QspiMode)>
dummy_cycles: u8
data: Option<(&'a [u8], QspiMode)>
double_data_rate: bool
Implementations
Trait Implementations
sourceimpl<'a> Clone for QspiWriteCommand<'a>
impl<'a> Clone for QspiWriteCommand<'a>
sourcefn clone(&self) -> QspiWriteCommand<'a>
fn clone(&self) -> QspiWriteCommand<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for QspiWriteCommand<'a>
impl<'a> Debug for QspiWriteCommand<'a>
sourceimpl<'a> PartialEq<QspiWriteCommand<'a>> for QspiWriteCommand<'a>
impl<'a> PartialEq<QspiWriteCommand<'a>> for QspiWriteCommand<'a>
sourcefn eq(&self, other: &QspiWriteCommand<'a>) -> bool
fn eq(&self, other: &QspiWriteCommand<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QspiWriteCommand<'a>) -> bool
fn ne(&self, other: &QspiWriteCommand<'a>) -> bool
This method tests for !=
.
impl<'a> Copy for QspiWriteCommand<'a>
impl<'a> StructuralPartialEq for QspiWriteCommand<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for QspiWriteCommand<'a>
impl<'a> Send for QspiWriteCommand<'a>
impl<'a> Sync for QspiWriteCommand<'a>
impl<'a> Unpin for QspiWriteCommand<'a>
impl<'a> UnwindSafe for QspiWriteCommand<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more