pub struct PointerEventPhase { /* private fields */ }Expand description
The wire type corresponding to PointerEventPhase.
Implementations§
Source§impl PointerEventPhase
impl PointerEventPhase
pub const ADD: PointerEventPhase
pub const HOVER: PointerEventPhase
pub const DOWN: PointerEventPhase
pub const MOVE: PointerEventPhase
pub const UP: PointerEventPhase
pub const REMOVE: PointerEventPhase
pub const CANCEL: PointerEventPhase
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 moreSource§impl Constrained for PointerEventPhase
impl Constrained for PointerEventPhase
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, PointerEventPhase>,
_: <PointerEventPhase as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, PointerEventPhase>, _: <PointerEventPhase 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 PointerEventPhase
Source§impl Debug for PointerEventPhase
impl Debug for PointerEventPhase
Source§impl<___D> Decode<___D> for PointerEventPhasewhere
___D: ?Sized,
impl<___D> Decode<___D> for PointerEventPhasewhere
___D: ?Sized,
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 IntoNatural for PointerEventPhase
impl IntoNatural for PointerEventPhase
Source§type Natural = PointerEventPhase
type Natural = PointerEventPhase
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 PointerEventPhase
impl PartialEq for PointerEventPhase
impl StructuralPartialEq for PointerEventPhase
Source§impl Wire for PointerEventPhase
impl Wire for PointerEventPhase
Source§type Narrowed<'de> = PointerEventPhase
type Narrowed<'de> = PointerEventPhase
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<PointerEventPhase>)
fn zero_padding(_: &mut MaybeUninit<PointerEventPhase>)
Writes zeroes to the padding for this type, if any.
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> 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]