#[repr(u32)]pub enum KeyboardEventPhase {
Pressed = 0,
Released = 1,
Cancelled = 2,
Repeat = 3,
UnknownOrdinal_(u32),
}Variants§
Trait Implementations§
Source§impl Clone for KeyboardEventPhase
impl Clone for KeyboardEventPhase
Source§fn clone(&self) -> KeyboardEventPhase
fn clone(&self) -> KeyboardEventPhase
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 moreimpl Copy for KeyboardEventPhase
Source§impl Debug for KeyboardEventPhase
impl Debug for KeyboardEventPhase
Source§impl<___E> Encode<KeyboardEventPhase, ___E> for KeyboardEventPhasewhere
___E: ?Sized,
impl<___E> Encode<KeyboardEventPhase, ___E> for KeyboardEventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<KeyboardEventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<KeyboardEventPhase>, _: (), ) -> 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<KeyboardEventPhase, ___E> for &'a KeyboardEventPhasewhere
___E: ?Sized,
impl<'a, ___E> Encode<KeyboardEventPhase, ___E> for &'a KeyboardEventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<KeyboardEventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<KeyboardEventPhase>, _: (), ) -> 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 KeyboardEventPhase
Source§impl From<KeyboardEventPhase> for KeyboardEventPhase
impl From<KeyboardEventPhase> for KeyboardEventPhase
Source§fn from(wire: KeyboardEventPhase) -> KeyboardEventPhase
fn from(wire: KeyboardEventPhase) -> KeyboardEventPhase
Converts to this type from the input type.
Source§impl From<KeyboardEventPhase> for KeyboardEventPhase
impl From<KeyboardEventPhase> for KeyboardEventPhase
Source§fn from(natural: KeyboardEventPhase) -> KeyboardEventPhase
fn from(natural: KeyboardEventPhase) -> KeyboardEventPhase
Converts to this type from the input type.
Source§impl From<u32> for KeyboardEventPhase
impl From<u32> for KeyboardEventPhase
Source§fn from(value: u32) -> KeyboardEventPhase
fn from(value: u32) -> KeyboardEventPhase
Converts to this type from the input type.
Source§impl FromWire<KeyboardEventPhase> for KeyboardEventPhase
impl FromWire<KeyboardEventPhase> for KeyboardEventPhase
Source§fn from_wire(wire: KeyboardEventPhase) -> KeyboardEventPhase
fn from_wire(wire: KeyboardEventPhase) -> KeyboardEventPhase
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<KeyboardEventPhase> for KeyboardEventPhase
impl FromWireRef<KeyboardEventPhase> for KeyboardEventPhase
Source§fn from_wire_ref(wire: &KeyboardEventPhase) -> KeyboardEventPhase
fn from_wire_ref(wire: &KeyboardEventPhase) -> KeyboardEventPhase
Converts the given reference to this type.
Source§impl Hash for KeyboardEventPhase
impl Hash for KeyboardEventPhase
Source§impl Ord for KeyboardEventPhase
impl Ord for KeyboardEventPhase
Source§fn cmp(&self, other: &KeyboardEventPhase) -> Ordering
fn cmp(&self, other: &KeyboardEventPhase) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for KeyboardEventPhase
impl PartialEq for KeyboardEventPhase
Source§impl PartialOrd for KeyboardEventPhase
impl PartialOrd for KeyboardEventPhase
impl StructuralPartialEq for KeyboardEventPhase
Auto Trait Implementations§
impl Freeze for KeyboardEventPhase
impl RefUnwindSafe for KeyboardEventPhase
impl Send for KeyboardEventPhase
impl Sync for KeyboardEventPhase
impl Unpin for KeyboardEventPhase
impl UnsafeUnpin for KeyboardEventPhase
impl UnwindSafe for KeyboardEventPhase
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, 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]