pub struct SpiImplExchangeVectorRequest {
pub chip_select: u32,
pub txdata: Vec<u8>,
}Fields§
§chip_select: u32§txdata: Vec<u8>Trait Implementations§
Source§impl Clone for SpiImplExchangeVectorRequest
impl Clone for SpiImplExchangeVectorRequest
Source§fn clone(&self) -> SpiImplExchangeVectorRequest
fn clone(&self) -> SpiImplExchangeVectorRequest
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 SpiImplExchangeVectorRequest
impl Debug for SpiImplExchangeVectorRequest
Source§impl<'a, ___E> Encode<SpiImplExchangeVectorRequest<'static>, ___E> for &'a SpiImplExchangeVectorRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<SpiImplExchangeVectorRequest<'static>, ___E> for &'a SpiImplExchangeVectorRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SpiImplExchangeVectorRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SpiImplExchangeVectorRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<SpiImplExchangeVectorRequest<'static>, ___E> for SpiImplExchangeVectorRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<SpiImplExchangeVectorRequest<'static>, ___E> for SpiImplExchangeVectorRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SpiImplExchangeVectorRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SpiImplExchangeVectorRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> EncodeOption<Box<'static, SpiImplExchangeVectorRequest<'static>>, ___E> for &'a SpiImplExchangeVectorRequestwhere
___E: Encoder + ?Sized,
&'a SpiImplExchangeVectorRequest: Encode<SpiImplExchangeVectorRequest<'static>, ___E>,
impl<'a, ___E> EncodeOption<Box<'static, SpiImplExchangeVectorRequest<'static>>, ___E> for &'a SpiImplExchangeVectorRequestwhere
___E: Encoder + ?Sized,
&'a SpiImplExchangeVectorRequest: Encode<SpiImplExchangeVectorRequest<'static>, ___E>,
Source§fn encode_option(
this: Option<&'a SpiImplExchangeVectorRequest>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, SpiImplExchangeVectorRequest<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a SpiImplExchangeVectorRequest>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, SpiImplExchangeVectorRequest<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, SpiImplExchangeVectorRequest<'static>>, ___E> for SpiImplExchangeVectorRequestwhere
___E: Encoder + ?Sized,
SpiImplExchangeVectorRequest: Encode<SpiImplExchangeVectorRequest<'static>, ___E>,
impl<___E> EncodeOption<Box<'static, SpiImplExchangeVectorRequest<'static>>, ___E> for SpiImplExchangeVectorRequestwhere
___E: Encoder + ?Sized,
SpiImplExchangeVectorRequest: Encode<SpiImplExchangeVectorRequest<'static>, ___E>,
Source§fn encode_option(
this: Option<SpiImplExchangeVectorRequest>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, SpiImplExchangeVectorRequest<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<SpiImplExchangeVectorRequest>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, SpiImplExchangeVectorRequest<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<SpiImplExchangeVectorRequest<'de>> for SpiImplExchangeVectorRequest
impl<'de> FromWire<SpiImplExchangeVectorRequest<'de>> for SpiImplExchangeVectorRequest
Source§fn from_wire(
wire: SpiImplExchangeVectorRequest<'de>,
) -> SpiImplExchangeVectorRequest
fn from_wire( wire: SpiImplExchangeVectorRequest<'de>, ) -> SpiImplExchangeVectorRequest
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<SpiImplExchangeVectorRequest<'de>> for SpiImplExchangeVectorRequest
impl<'de> FromWireRef<SpiImplExchangeVectorRequest<'de>> for SpiImplExchangeVectorRequest
Source§fn from_wire_ref(
wire: &SpiImplExchangeVectorRequest<'de>,
) -> SpiImplExchangeVectorRequest
fn from_wire_ref( wire: &SpiImplExchangeVectorRequest<'de>, ) -> SpiImplExchangeVectorRequest
Converts the given reference to this type.
Source§impl Hash for SpiImplExchangeVectorRequest
impl Hash for SpiImplExchangeVectorRequest
Source§impl Ord for SpiImplExchangeVectorRequest
impl Ord for SpiImplExchangeVectorRequest
Source§fn cmp(&self, other: &SpiImplExchangeVectorRequest) -> Ordering
fn cmp(&self, other: &SpiImplExchangeVectorRequest) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpiImplExchangeVectorRequest
impl PartialEq for SpiImplExchangeVectorRequest
Source§fn eq(&self, other: &SpiImplExchangeVectorRequest) -> bool
fn eq(&self, other: &SpiImplExchangeVectorRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SpiImplExchangeVectorRequest
impl PartialOrd for SpiImplExchangeVectorRequest
impl Eq for SpiImplExchangeVectorRequest
impl StructuralPartialEq for SpiImplExchangeVectorRequest
Auto Trait Implementations§
impl Freeze for SpiImplExchangeVectorRequest
impl RefUnwindSafe for SpiImplExchangeVectorRequest
impl Send for SpiImplExchangeVectorRequest
impl Sync for SpiImplExchangeVectorRequest
impl Unpin for SpiImplExchangeVectorRequest
impl UnsafeUnpin for SpiImplExchangeVectorRequest
impl UnwindSafe for SpiImplExchangeVectorRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]