#[repr(C)]pub struct MyUint16 {
pub value: u16,
}Fields§
§value: u16Trait Implementations§
Source§impl CompatFrom<MyUint16> for MyUint16
impl CompatFrom<MyUint16> for MyUint16
Source§fn compat_from(value: MyUint16) -> Self
fn compat_from(value: MyUint16) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<MyUint16> for MyUint16
impl CompatFrom<MyUint16> for MyUint16
Source§fn compat_from(value: MyUint16) -> Self
fn compat_from(value: MyUint16) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<MyUint16, ___E> for &'a MyUint16where
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<MyUint16, ___E> for &'a MyUint16where
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<MyUint16, ___E> for MyUint16where
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<MyUint16, ___E> for MyUint16where
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, MyUint16>
const COPY_OPTIMIZATION: CopyOptimization<Self, MyUint16>
Source§impl<'a, ___E> EncodeOption<Box<'static, MyUint16>, ___E> for &'a MyUint16
impl<'a, ___E> EncodeOption<Box<'static, MyUint16>, ___E> for &'a MyUint16
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, MyUint16>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, MyUint16>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, MyUint16>, ___E> for MyUint16
impl<___E> EncodeOption<Box<'static, MyUint16>, ___E> for MyUint16
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, MyUint16>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, MyUint16>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireRef<MyUint16> for MyUint16
impl FromWireRef<MyUint16> for MyUint16
Source§fn from_wire_ref(wire: &MyUint16) -> Self
fn from_wire_ref(wire: &MyUint16) -> Self
Converts the given reference to this type.
Source§impl Ord for MyUint16
impl Ord for MyUint16
Source§impl PartialOrd for MyUint16
impl PartialOrd for MyUint16
impl Copy for MyUint16
impl Eq for MyUint16
impl StructuralPartialEq for MyUint16
Auto Trait Implementations§
impl Freeze for MyUint16
impl RefUnwindSafe for MyUint16
impl Send for MyUint16
impl Sync for MyUint16
impl Unpin for MyUint16
impl UnsafeUnpin for MyUint16
impl UnwindSafe for MyUint16
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,
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, 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]