pub struct TabBarOptions {
pub flags: TabBarFlags,
pub fitting_policy: Option<TabBarFittingPolicy>,
}Expand description
Complete tab bar options assembled from independent flags and optional single fitting policy.
Fields§
§flags: TabBarFlags§fitting_policy: Option<TabBarFittingPolicy>Implementations§
Source§impl TabBarOptions
impl TabBarOptions
pub const fn new() -> Self
pub fn flags(self, flags: TabBarFlags) -> Self
pub fn fitting_policy(self, policy: TabBarFittingPolicy) -> Self
pub fn bits(self) -> i32
Trait Implementations§
Source§impl Clone for TabBarOptions
impl Clone for TabBarOptions
Source§fn clone(&self) -> TabBarOptions
fn clone(&self) -> TabBarOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TabBarOptions
impl Debug for TabBarOptions
Source§impl Default for TabBarOptions
impl Default for TabBarOptions
Source§impl From<TabBarFlags> for TabBarOptions
impl From<TabBarFlags> for TabBarOptions
Source§fn from(flags: TabBarFlags) -> Self
fn from(flags: TabBarFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for TabBarOptions
impl Hash for TabBarOptions
Source§impl PartialEq for TabBarOptions
impl PartialEq for TabBarOptions
Source§fn eq(&self, other: &TabBarOptions) -> bool
fn eq(&self, other: &TabBarOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TabBarOptions
impl Eq for TabBarOptions
impl StructuralPartialEq for TabBarOptions
Auto Trait Implementations§
impl Freeze for TabBarOptions
impl RefUnwindSafe for TabBarOptions
impl Send for TabBarOptions
impl Sync for TabBarOptions
impl Unpin for TabBarOptions
impl UnsafeUnpin for TabBarOptions
impl UnwindSafe for TabBarOptions
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