#[repr(C)]pub struct SpiSegmentAbi {
pub kind: u8,
pub cs_change: u8,
pub length: u16,
}Expand description
One segment of SPI_TRANSACTION. kind is one of the SPI_SEGMENT_*
values and cs_change is 0 or 1.
Fields§
§kind: u8§cs_change: u8§length: u16Trait Implementations§
Source§impl Clone for SpiSegmentAbi
impl Clone for SpiSegmentAbi
Source§fn clone(&self) -> SpiSegmentAbi
fn clone(&self) -> SpiSegmentAbi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpiSegmentAbi
impl Debug for SpiSegmentAbi
Source§impl Default for SpiSegmentAbi
impl Default for SpiSegmentAbi
Source§fn default() -> SpiSegmentAbi
fn default() -> SpiSegmentAbi
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpiSegmentAbi
impl PartialEq for SpiSegmentAbi
Source§fn eq(&self, other: &SpiSegmentAbi) -> bool
fn eq(&self, other: &SpiSegmentAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpiSegmentAbi
impl Eq for SpiSegmentAbi
impl PlainData for SpiSegmentAbi
impl StructuralPartialEq for SpiSegmentAbi
Auto Trait Implementations§
impl Freeze for SpiSegmentAbi
impl RefUnwindSafe for SpiSegmentAbi
impl Send for SpiSegmentAbi
impl Sync for SpiSegmentAbi
impl Unpin for SpiSegmentAbi
impl UnsafeUnpin for SpiSegmentAbi
impl UnwindSafe for SpiSegmentAbi
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