#[repr(C)]pub struct GpioReadResponse {
pub value: bool,
}Expand description
The wire type corresponding to GpioReadResponse.
Fields§
§value: boolTrait Implementations§
Source§impl Clone for GpioReadResponse
impl Clone for GpioReadResponse
Source§fn clone(&self) -> GpioReadResponse
fn clone(&self) -> GpioReadResponse
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 Constrained for GpioReadResponse
impl Constrained for GpioReadResponse
Source§impl Debug for GpioReadResponse
impl Debug for GpioReadResponse
Source§impl<___D> Decode<___D> for GpioReadResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for GpioReadResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<'a, ___E> Encode<GpioReadResponse, ___E> for &'a GpioReadResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<GpioReadResponse, ___E> for &'a GpioReadResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<GpioReadResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<GpioReadResponse>, _: (), ) -> 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<GpioReadResponse, ___E> for GpioReadResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<GpioReadResponse, ___E> for GpioReadResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, GpioReadResponse>
const COPY_OPTIMIZATION: CopyOptimization<Self, GpioReadResponse>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<GpioReadResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<GpioReadResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<GpioReadResponse, ___E> for GpioReadResponse<T0>
impl<___E, T0> Encode<GpioReadResponse, ___E> for GpioReadResponse<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<GpioReadResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<GpioReadResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<GpioReadResponse> for GpioReadResponse
impl FromWire<GpioReadResponse> for GpioReadResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<GpioReadResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<GpioReadResponse, Self>
Source§fn from_wire(wire: GpioReadResponse) -> Self
fn from_wire(wire: GpioReadResponse) -> Self
Converts the given owned value to this type.
Source§impl FromWireRef<GpioReadResponse> for GpioReadResponse
impl FromWireRef<GpioReadResponse> for GpioReadResponse
Source§fn from_wire_ref(wire: &GpioReadResponse) -> Self
fn from_wire_ref(wire: &GpioReadResponse) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for GpioReadResponse
impl IntoNatural for GpioReadResponse
Source§type Natural = GpioReadResponse
type Natural = GpioReadResponse
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for GpioReadResponse
impl Wire for GpioReadResponse
Source§type Narrowed<'de> = GpioReadResponse
type Narrowed<'de> = GpioReadResponse
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for GpioReadResponse
impl RefUnwindSafe for GpioReadResponse
impl Send for GpioReadResponse
impl Sync for GpioReadResponse
impl Unpin for GpioReadResponse
impl UnsafeUnpin for GpioReadResponse
impl UnwindSafe for GpioReadResponse
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> 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]