#[repr(transparent)]pub struct UITabPlacement(pub NSInteger);
Available on crate feature
UITab
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl UITabPlacement
impl UITabPlacement
Sourcepub const Automatic: Self
pub const Automatic: Self
Resolves to .default
for root-level tabs, and .optional
for all others.
Sourcepub const Default: Self
pub const Default: Self
The tab can be added or removed from the tab bar, and appears by default.
Sourcepub const Optional: Self
pub const Optional: Self
The tab can be added or removed from the tab bar, but does NOT appear by default.
Sourcepub const Pinned: Self
pub const Pinned: Self
The tab is always available and visible in the tab bar. Pinned items are placed at the trailing side of the bar.
Sourcepub const Fixed: Self
pub const Fixed: Self
The tab cannot be moved or removed from the tab bar, and is displayed before all customizable tabs.
Sourcepub const SidebarOnly: Self
pub const SidebarOnly: Self
The tab cannot be added to the tab bar.
Trait Implementations§
Source§impl Clone for UITabPlacement
impl Clone for UITabPlacement
Source§fn clone(&self) -> UITabPlacement
fn clone(&self) -> UITabPlacement
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 UITabPlacement
impl Debug for UITabPlacement
Source§impl Encode for UITabPlacement
impl Encode for UITabPlacement
Source§impl Hash for UITabPlacement
impl Hash for UITabPlacement
Source§impl Ord for UITabPlacement
impl Ord for UITabPlacement
Source§fn cmp(&self, other: &UITabPlacement) -> Ordering
fn cmp(&self, other: &UITabPlacement) -> 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 UITabPlacement
impl PartialEq for UITabPlacement
Source§impl PartialOrd for UITabPlacement
impl PartialOrd for UITabPlacement
Source§impl RefEncode for UITabPlacement
impl RefEncode for UITabPlacement
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 UITabPlacement
impl Eq for UITabPlacement
impl StructuralPartialEq for UITabPlacement
Auto Trait Implementations§
impl Freeze for UITabPlacement
impl RefUnwindSafe for UITabPlacement
impl Send for UITabPlacement
impl Sync for UITabPlacement
impl Unpin for UITabPlacement
impl UnwindSafe for UITabPlacement
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.