Struct objc2_ui_kit::UITouchPhase
source · #[repr(transparent)]pub struct UITouchPhase(pub NSInteger);
Available on crate feature
UITouch
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl UITouchPhase
impl UITouchPhase
pub const Began: Self = _
pub const Moved: Self = _
pub const Stationary: Self = _
pub const Ended: Self = _
pub const Cancelled: Self = _
pub const RegionEntered: Self = _
pub const RegionMoved: Self = _
pub const RegionExited: Self = _
Trait Implementations§
source§impl Clone for UITouchPhase
impl Clone for UITouchPhase
source§fn clone(&self) -> UITouchPhase
fn clone(&self) -> UITouchPhase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UITouchPhase
impl Debug for UITouchPhase
source§impl Encode for UITouchPhase
impl Encode for UITouchPhase
source§impl Hash for UITouchPhase
impl Hash for UITouchPhase
source§impl Ord for UITouchPhase
impl Ord for UITouchPhase
source§fn cmp(&self, other: &UITouchPhase) -> Ordering
fn cmp(&self, other: &UITouchPhase) -> Ordering
1.21.0 · 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
source§impl PartialEq for UITouchPhase
impl PartialEq for UITouchPhase
source§fn eq(&self, other: &UITouchPhase) -> bool
fn eq(&self, other: &UITouchPhase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UITouchPhase
impl PartialOrd for UITouchPhase
source§fn partial_cmp(&self, other: &UITouchPhase) -> Option<Ordering>
fn partial_cmp(&self, other: &UITouchPhase) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for UITouchPhase
impl RefEncode for UITouchPhase
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for UITouchPhase
impl Eq for UITouchPhase
impl StructuralPartialEq for UITouchPhase
Auto Trait Implementations§
impl Freeze for UITouchPhase
impl RefUnwindSafe for UITouchPhase
impl Send for UITouchPhase
impl Sync for UITouchPhase
impl Unpin for UITouchPhase
impl UnwindSafe for UITouchPhase
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.