[−][src]Enum embedded_hal::blocking::spi::Operation
pub enum Operation<'a, W: 'static> { Write(&'a [W]), Transfer(&'a mut [W]), }
Operation for transactional SPI trait
This allows composition of SPI operations into a single bus transaction
Variants
Write data from the provided buffer, discarding read data
Write data out while reading data into the provided buffer
Trait Implementations
impl<'a, W: Debug + 'static> Debug for Operation<'a, W>
[src][+]
impl<'a, W: PartialEq + 'static> PartialEq<Operation<'a, W>> for Operation<'a, W>
[src][+]
impl<'a, W: 'static> StructuralPartialEq for Operation<'a, W>
[src]
Auto Trait Implementations
impl<'a, W> Send for Operation<'a, W> where
W: Send + Sync,
W: Send + Sync,
impl<'a, W> Sync for Operation<'a, W> where
W: Sync,
W: Sync,
impl<'a, W> Unpin for Operation<'a, W>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,