#[repr(C)]pub struct NullableHandle {
pub h: Option<NullableHandle>,
}Fields§
§h: Option<NullableHandle>Trait Implementations§
Source§impl CompatFrom<NullableHandle> for NullableHandle
impl CompatFrom<NullableHandle> for NullableHandle
Source§fn compat_from(value: NullableHandle) -> Self
fn compat_from(value: NullableHandle) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<NullableHandle> for NullableHandle
impl CompatFrom<NullableHandle> for NullableHandle
Source§fn compat_from(value: NullableHandle) -> Self
fn compat_from(value: NullableHandle) -> Self
Converts
value into a value of this type.Source§impl Debug for NullableHandle
impl Debug for NullableHandle
Source§impl<___E> Encode<NullableHandle, ___E> for NullableHandlewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<NullableHandle, ___E> for NullableHandlewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, NullableHandle>
const COPY_OPTIMIZATION: CopyOptimization<Self, NullableHandle>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<NullableHandle>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<NullableHandle>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, NullableHandle>, ___E> for NullableHandle
impl<___E> EncodeOption<Box<'static, NullableHandle>, ___E> for NullableHandle
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, NullableHandle>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, NullableHandle>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<NullableHandle> for NullableHandle
impl FromWire<NullableHandle> for NullableHandle
Source§const COPY_OPTIMIZATION: CopyOptimization<NullableHandle, Self>
const COPY_OPTIMIZATION: CopyOptimization<NullableHandle, Self>
Source§fn from_wire(wire: NullableHandle) -> Self
fn from_wire(wire: NullableHandle) -> Self
Converts the given owned value to this type.
Source§impl PartialEq for NullableHandle
impl PartialEq for NullableHandle
impl StructuralPartialEq for NullableHandle
Auto Trait Implementations§
impl Freeze for NullableHandle
impl RefUnwindSafe for NullableHandle
impl Send for NullableHandle
impl Sync for NullableHandle
impl Unpin for NullableHandle
impl UnsafeUnpin for NullableHandle
impl UnwindSafe for NullableHandle
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, 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> 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]