#[repr(u32)]pub enum TabsCloseButtonDisplayPolicy {
CloseButtonShowNever = 0,
CloseButtonShowActiveOnly = 1,
CloseButtonShowAlways = 2,
CloseButtonMax = 3,
}
Variants§
CloseButtonShowNever = 0
CloseButtonShowActiveOnly = 1
CloseButtonShowAlways = 2
CloseButtonMax = 3
Trait Implementations§
Source§impl Clone for TabsCloseButtonDisplayPolicy
impl Clone for TabsCloseButtonDisplayPolicy
Source§fn clone(&self) -> TabsCloseButtonDisplayPolicy
fn clone(&self) -> TabsCloseButtonDisplayPolicy
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 TabsCloseButtonDisplayPolicy
impl Debug for TabsCloseButtonDisplayPolicy
Source§impl Hash for TabsCloseButtonDisplayPolicy
impl Hash for TabsCloseButtonDisplayPolicy
Source§impl PartialEq for TabsCloseButtonDisplayPolicy
impl PartialEq for TabsCloseButtonDisplayPolicy
Source§fn eq(&self, other: &TabsCloseButtonDisplayPolicy) -> bool
fn eq(&self, other: &TabsCloseButtonDisplayPolicy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for TabsCloseButtonDisplayPolicy
impl Eq for TabsCloseButtonDisplayPolicy
impl StructuralPartialEq for TabsCloseButtonDisplayPolicy
Auto Trait Implementations§
impl Freeze for TabsCloseButtonDisplayPolicy
impl RefUnwindSafe for TabsCloseButtonDisplayPolicy
impl Send for TabsCloseButtonDisplayPolicy
impl Sync for TabsCloseButtonDisplayPolicy
impl Unpin for TabsCloseButtonDisplayPolicy
impl UnwindSafe for TabsCloseButtonDisplayPolicy
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