#[repr(u32)]pub enum PointerEventPhase {
Add = 0,
Hover = 1,
Down = 2,
Move = 3,
Up = 4,
Remove = 5,
Cancel = 6,
}Variants§
Trait Implementations§
Source§impl Clone for PointerEventPhase
impl Clone for PointerEventPhase
Source§fn clone(&self) -> PointerEventPhase
fn clone(&self) -> PointerEventPhase
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 PointerEventPhase
Source§impl Debug for PointerEventPhase
impl Debug for PointerEventPhase
Source§impl<___E> Encode<PointerEventPhase, ___E> for PointerEventPhasewhere
___E: ?Sized,
impl<___E> Encode<PointerEventPhase, ___E> for PointerEventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<PointerEventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<PointerEventPhase>, _: (), ) -> 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<PointerEventPhase, ___E> for &'a PointerEventPhasewhere
___E: ?Sized,
impl<'a, ___E> Encode<PointerEventPhase, ___E> for &'a PointerEventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<PointerEventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<PointerEventPhase>, _: (), ) -> 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 PointerEventPhase
Source§impl From<PointerEventPhase> for PointerEventPhase
impl From<PointerEventPhase> for PointerEventPhase
Source§fn from(wire: PointerEventPhase) -> PointerEventPhase
fn from(wire: PointerEventPhase) -> PointerEventPhase
Converts to this type from the input type.
Source§impl From<PointerEventPhase> for PointerEventPhase
impl From<PointerEventPhase> for PointerEventPhase
Source§fn from(natural: PointerEventPhase) -> PointerEventPhase
fn from(natural: PointerEventPhase) -> PointerEventPhase
Converts to this type from the input type.
Source§impl FromWire<PointerEventPhase> for PointerEventPhase
impl FromWire<PointerEventPhase> for PointerEventPhase
Source§fn from_wire(wire: PointerEventPhase) -> PointerEventPhase
fn from_wire(wire: PointerEventPhase) -> PointerEventPhase
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<PointerEventPhase> for PointerEventPhase
impl FromWireRef<PointerEventPhase> for PointerEventPhase
Source§fn from_wire_ref(wire: &PointerEventPhase) -> PointerEventPhase
fn from_wire_ref(wire: &PointerEventPhase) -> PointerEventPhase
Converts the given reference to this type.
Source§impl Hash for PointerEventPhase
impl Hash for PointerEventPhase
Source§impl Ord for PointerEventPhase
impl Ord for PointerEventPhase
Source§fn cmp(&self, other: &PointerEventPhase) -> Ordering
fn cmp(&self, other: &PointerEventPhase) -> 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 PointerEventPhase
impl PartialEq for PointerEventPhase
Source§impl PartialOrd for PointerEventPhase
impl PartialOrd for PointerEventPhase
impl StructuralPartialEq for PointerEventPhase
Auto Trait Implementations§
impl Freeze for PointerEventPhase
impl RefUnwindSafe for PointerEventPhase
impl Send for PointerEventPhase
impl Sync for PointerEventPhase
impl Unpin for PointerEventPhase
impl UnsafeUnpin for PointerEventPhase
impl UnwindSafe for PointerEventPhase
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]