#[repr(transparent)]pub struct UIPageControlDirection(pub NSInteger);
Available on crate feature
UIPageControl
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl UIPageControlDirection
impl UIPageControlDirection
Sourcepub const Natural: Self
pub const Natural: Self
Page indicators are laid out in the natural direction of the system locale.
By default, this is equivalent to
UIPageControlDirectionLeftToRight
on LTR locales, and
UIPageControlDirectionRightToLeft
on RTL locales.
Sourcepub const LeftToRight: Self
pub const LeftToRight: Self
Page indicators are laid out from left to right.
Sourcepub const RightToLeft: Self
pub const RightToLeft: Self
Page indicators are laid out from right to left.
Sourcepub const TopToBottom: Self
pub const TopToBottom: Self
Page indicators are laid out from top to bottom.
Sourcepub const BottomToTop: Self
pub const BottomToTop: Self
Page indicators are laid out from bottom to top.
Trait Implementations§
Source§impl Clone for UIPageControlDirection
impl Clone for UIPageControlDirection
Source§fn clone(&self) -> UIPageControlDirection
fn clone(&self) -> UIPageControlDirection
Returns a duplicate 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§impl PartialOrd for UIPageControlDirection
impl PartialOrd for UIPageControlDirection
Source§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.