#[repr(C)]pub struct GpioReadResponse {
pub value: bool,
}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 Debug for GpioReadResponse
impl Debug for GpioReadResponse
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<GpioReadResponse, GpioReadResponse>
const COPY_OPTIMIZATION: CopyOptimization<GpioReadResponse, 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<'a, ___E> EncodeOption<Box<'static, GpioReadResponse>, ___E> for &'a GpioReadResponse
impl<'a, ___E> EncodeOption<Box<'static, GpioReadResponse>, ___E> for &'a GpioReadResponse
Source§fn encode_option(
this: Option<&'a GpioReadResponse>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, GpioReadResponse>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a GpioReadResponse>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, GpioReadResponse>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, GpioReadResponse>, ___E> for GpioReadResponse
impl<___E> EncodeOption<Box<'static, GpioReadResponse>, ___E> for GpioReadResponse
Source§fn encode_option(
this: Option<GpioReadResponse>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, GpioReadResponse>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<GpioReadResponse>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, GpioReadResponse>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<GpioReadResponse> for GpioReadResponse
impl FromWire<GpioReadResponse> for GpioReadResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<GpioReadResponse, GpioReadResponse>
const COPY_OPTIMIZATION: CopyOptimization<GpioReadResponse, GpioReadResponse>
Source§fn from_wire(wire: GpioReadResponse) -> GpioReadResponse
fn from_wire(wire: GpioReadResponse) -> GpioReadResponse
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) -> GpioReadResponse
fn from_wire_ref(wire: &GpioReadResponse) -> GpioReadResponse
Converts the given reference to this type.
Source§impl Hash for GpioReadResponse
impl Hash for GpioReadResponse
Source§impl Ord for GpioReadResponse
impl Ord for GpioReadResponse
Source§fn cmp(&self, other: &GpioReadResponse) -> Ordering
fn cmp(&self, other: &GpioReadResponse) -> 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 GpioReadResponse
impl PartialEq for GpioReadResponse
Source§fn eq(&self, other: &GpioReadResponse) -> bool
fn eq(&self, other: &GpioReadResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GpioReadResponse
impl PartialOrd for GpioReadResponse
impl Copy for GpioReadResponse
impl Eq for GpioReadResponse
impl StructuralPartialEq for GpioReadResponse
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, 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]