#[repr(C)]pub struct NonnullableHandleArray {
pub handles: [NullableHandle; 4],
}Expand description
The wire type corresponding to NonnullableHandleArray.
Fields§
§handles: [NullableHandle; 4]Trait Implementations§
Source§impl Constrained for NonnullableHandleArray
impl Constrained for NonnullableHandleArray
Source§impl Debug for NonnullableHandleArray
impl Debug for NonnullableHandleArray
Source§impl<___D> Decode<___D> for NonnullableHandleArraywhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for NonnullableHandleArraywhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<NonnullableHandleArray, ___E> for NonnullableHandleArraywhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<NonnullableHandleArray, ___E> for NonnullableHandleArraywhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, NonnullableHandleArray>
const COPY_OPTIMIZATION: CopyOptimization<Self, NonnullableHandleArray>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NonnullableHandleArray>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NonnullableHandleArray>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<NonnullableHandleArray, ___E> for NonnullableHandleArray<T0>
impl<___E, T0> Encode<NonnullableHandleArray, ___E> for NonnullableHandleArray<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NonnullableHandleArray>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NonnullableHandleArray>, _: (), ) -> 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<NonnullableHandleArray> for NonnullableHandleArray
impl FromWire<NonnullableHandleArray> for NonnullableHandleArray
Source§const COPY_OPTIMIZATION: CopyOptimization<NonnullableHandleArray, Self>
const COPY_OPTIMIZATION: CopyOptimization<NonnullableHandleArray, Self>
Source§fn from_wire(wire: NonnullableHandleArray) -> Self
fn from_wire(wire: NonnullableHandleArray) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for NonnullableHandleArray
impl IntoNatural for NonnullableHandleArray
Source§type Natural = NonnullableHandleArray
type Natural = NonnullableHandleArray
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 NonnullableHandleArray
impl Wire for NonnullableHandleArray
Source§type Narrowed<'de> = NonnullableHandleArray
type Narrowed<'de> = NonnullableHandleArray
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 NonnullableHandleArray
impl RefUnwindSafe for NonnullableHandleArray
impl Send for NonnullableHandleArray
impl Sync for NonnullableHandleArray
impl Unpin for NonnullableHandleArray
impl UnsafeUnpin for NonnullableHandleArray
impl UnwindSafe for NonnullableHandleArray
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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]