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