[−][src]Enum linux_embedded_hal::SpiOperation
Operation for transactional SPI trait
This allows composition of SPI operations into a single bus transaction
Variants
Write(&'a [W])
Write data from the provided buffer, discarding read data
Transfer(&'a mut [W])
Write data out while reading data into the provided buffer
Trait Implementations
impl<'a, W> Debug for Operation<'a, W> where
W: 'static + Debug,
[src]
W: 'static + Debug,
impl<'a, W> PartialEq<Operation<'a, W>> for Operation<'a, W> where
W: 'static + PartialEq<W>,
[src]
W: 'static + PartialEq<W>,
pub fn eq(&self, other: &Operation<'a, W>) -> bool
[src]
pub fn ne(&self, other: &Operation<'a, W>) -> bool
[src]
impl<'a, W> StructuralPartialEq for Operation<'a, W> where
W: 'static,
[src]
W: 'static,
Auto Trait Implementations
impl<'a, W> RefUnwindSafe for Operation<'a, W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
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>
impl<'a, W> !UnwindSafe 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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,