Struct objc2_ui_kit::UIForceTouchCapability
source · #[repr(transparent)]pub struct UIForceTouchCapability(pub NSInteger);
Available on crate feature
UITouch
only.Tuple Fields§
§0: NSInteger
Implementations§
Trait Implementations§
source§impl Clone for UIForceTouchCapability
impl Clone for UIForceTouchCapability
source§fn clone(&self) -> UIForceTouchCapability
fn clone(&self) -> UIForceTouchCapability
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 UIForceTouchCapability
impl Debug for UIForceTouchCapability
source§impl Encode for UIForceTouchCapability
impl Encode for UIForceTouchCapability
source§impl Hash for UIForceTouchCapability
impl Hash for UIForceTouchCapability
source§impl Ord for UIForceTouchCapability
impl Ord for UIForceTouchCapability
source§fn cmp(&self, other: &UIForceTouchCapability) -> Ordering
fn cmp(&self, other: &UIForceTouchCapability) -> 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 UIForceTouchCapability
impl PartialEq for UIForceTouchCapability
source§fn eq(&self, other: &UIForceTouchCapability) -> bool
fn eq(&self, other: &UIForceTouchCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UIForceTouchCapability
impl PartialOrd for UIForceTouchCapability
source§fn partial_cmp(&self, other: &UIForceTouchCapability) -> Option<Ordering>
fn partial_cmp(&self, other: &UIForceTouchCapability) -> 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 UIForceTouchCapability
impl RefEncode for UIForceTouchCapability
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 UIForceTouchCapability
impl Eq for UIForceTouchCapability
impl StructuralPartialEq for UIForceTouchCapability
Auto Trait Implementations§
impl Freeze for UIForceTouchCapability
impl RefUnwindSafe for UIForceTouchCapability
impl Send for UIForceTouchCapability
impl Sync for UIForceTouchCapability
impl Unpin for UIForceTouchCapability
impl UnwindSafe for UIForceTouchCapability
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.