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