pub struct KeyEventStatus { /* private fields */ }Expand description
The wire type corresponding to KeyEventStatus.
Implementations§
Source§impl KeyEventStatus
impl KeyEventStatus
pub const HANDLED: KeyEventStatus
pub const NOT_HANDLED: KeyEventStatus
Trait Implementations§
Source§impl Clone for KeyEventStatus
impl Clone for KeyEventStatus
Source§fn clone(&self) -> KeyEventStatus
fn clone(&self) -> KeyEventStatus
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 Constrained for KeyEventStatus
impl Constrained for KeyEventStatus
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, KeyEventStatus>,
_: <KeyEventStatus as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, KeyEventStatus>, _: <KeyEventStatus as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
impl Copy for KeyEventStatus
Source§impl Debug for KeyEventStatus
impl Debug for KeyEventStatus
Source§impl<___D> Decode<___D> for KeyEventStatuswhere
___D: ?Sized,
impl<___D> Decode<___D> for KeyEventStatuswhere
___D: ?Sized,
Source§impl<___E> Encode<KeyEventStatus, ___E> for KeyEventStatuswhere
___E: ?Sized,
impl<___E> Encode<KeyEventStatus, ___E> for KeyEventStatuswhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<KeyEventStatus>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<KeyEventStatus>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<KeyEventStatus, ___E> for &'a KeyEventStatuswhere
___E: ?Sized,
impl<'a, ___E> Encode<KeyEventStatus, ___E> for &'a KeyEventStatuswhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<KeyEventStatus>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<KeyEventStatus>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
impl Eq for KeyEventStatus
Source§impl From<KeyEventStatus> for KeyEventStatus
impl From<KeyEventStatus> for KeyEventStatus
Source§fn from(wire: KeyEventStatus) -> KeyEventStatus
fn from(wire: KeyEventStatus) -> KeyEventStatus
Converts to this type from the input type.
Source§impl From<KeyEventStatus> for KeyEventStatus
impl From<KeyEventStatus> for KeyEventStatus
Source§fn from(natural: KeyEventStatus) -> KeyEventStatus
fn from(natural: KeyEventStatus) -> KeyEventStatus
Converts to this type from the input type.
Source§impl FromWire<KeyEventStatus> for KeyEventStatus
impl FromWire<KeyEventStatus> for KeyEventStatus
Source§fn from_wire(wire: KeyEventStatus) -> KeyEventStatus
fn from_wire(wire: KeyEventStatus) -> KeyEventStatus
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<KeyEventStatus> for KeyEventStatus
impl FromWireRef<KeyEventStatus> for KeyEventStatus
Source§fn from_wire_ref(wire: &KeyEventStatus) -> KeyEventStatus
fn from_wire_ref(wire: &KeyEventStatus) -> KeyEventStatus
Converts the given reference to this type.
Source§impl IntoNatural for KeyEventStatus
impl IntoNatural for KeyEventStatus
Source§type Natural = KeyEventStatus
type Natural = KeyEventStatus
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 PartialEq for KeyEventStatus
impl PartialEq for KeyEventStatus
impl StructuralPartialEq for KeyEventStatus
Source§impl Wire for KeyEventStatus
impl Wire for KeyEventStatus
Source§type Narrowed<'de> = KeyEventStatus
type Narrowed<'de> = KeyEventStatus
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<KeyEventStatus>)
fn zero_padding(_: &mut MaybeUninit<KeyEventStatus>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for KeyEventStatus
impl RefUnwindSafe for KeyEventStatus
impl Send for KeyEventStatus
impl Sync for KeyEventStatus
impl Unpin for KeyEventStatus
impl UnsafeUnpin for KeyEventStatus
impl UnwindSafe for KeyEventStatus
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> 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]