pub enum TabViewWidthMode {
Equal,
SizeToContent,
Compact,
}Expand description
How the tab strip allocates width to its headers.
Variants§
Equal
Equal widths constrained by TabViewItemMinWidth and TabViewItemMaxWidth.
SizeToContent
Each header takes the width required by its content.
Compact
Unselected headers show their icon without their label.
Trait Implementations§
Source§impl Clone for TabViewWidthMode
impl Clone for TabViewWidthMode
impl Copy for TabViewWidthMode
Source§impl Debug for TabViewWidthMode
impl Debug for TabViewWidthMode
Source§impl Default for TabViewWidthMode
impl Default for TabViewWidthMode
impl Eq for TabViewWidthMode
Source§impl PartialEq for TabViewWidthMode
impl PartialEq for TabViewWidthMode
impl StructuralPartialEq for TabViewWidthMode
Auto Trait Implementations§
impl Forget for TabViewWidthMode
impl Freeze for TabViewWidthMode
impl Move for TabViewWidthMode
impl RefUnwindSafe for TabViewWidthMode
impl Send for TabViewWidthMode
impl Sync for TabViewWidthMode
impl Unpin for TabViewWidthMode
impl UnsafeUnpin for TabViewWidthMode
impl UnwindSafe for TabViewWidthMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.