#[repr(transparent)]pub struct UITabBarMinimizeBehavior(pub NSInteger);Available on crate feature
UITabBarController only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl UITabBarMinimizeBehavior
impl UITabBarMinimizeBehavior
Sourcepub const OnScrollDown: Self
pub const OnScrollDown: Self
The tab bar minimizes when scrolling down, and expands when scrolling back up.
Sourcepub const OnScrollUp: Self
pub const OnScrollUp: Self
The tab bar minimizes when scrolling up, and expands when scrolling back down. Recommended if the scroll view content is aligned to the bottom.
Trait Implementations§
Source§impl Clone for UITabBarMinimizeBehavior
impl Clone for UITabBarMinimizeBehavior
Source§fn clone(&self) -> UITabBarMinimizeBehavior
fn clone(&self) -> UITabBarMinimizeBehavior
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 UITabBarMinimizeBehavior
impl Debug for UITabBarMinimizeBehavior
Source§impl Encode for UITabBarMinimizeBehavior
impl Encode for UITabBarMinimizeBehavior
Source§impl Hash for UITabBarMinimizeBehavior
impl Hash for UITabBarMinimizeBehavior
Source§impl Ord for UITabBarMinimizeBehavior
impl Ord for UITabBarMinimizeBehavior
Source§fn cmp(&self, other: &UITabBarMinimizeBehavior) -> Ordering
fn cmp(&self, other: &UITabBarMinimizeBehavior) -> 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 UITabBarMinimizeBehavior
impl PartialEq for UITabBarMinimizeBehavior
Source§impl PartialOrd for UITabBarMinimizeBehavior
impl PartialOrd for UITabBarMinimizeBehavior
Source§impl RefEncode for UITabBarMinimizeBehavior
impl RefEncode for UITabBarMinimizeBehavior
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 UITabBarMinimizeBehavior
impl Eq for UITabBarMinimizeBehavior
impl StructuralPartialEq for UITabBarMinimizeBehavior
Auto Trait Implementations§
impl Freeze for UITabBarMinimizeBehavior
impl RefUnwindSafe for UITabBarMinimizeBehavior
impl Send for UITabBarMinimizeBehavior
impl Sync for UITabBarMinimizeBehavior
impl Unpin for UITabBarMinimizeBehavior
impl UnwindSafe for UITabBarMinimizeBehavior
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.