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