pub enum TabSizeValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Length(Length),
}Variants§
Implementations§
Source§impl TabSizeValue
impl TabSizeValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is TabSizeValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is TabSizeValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is TabSizeValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is TabSizeValue::RevertLayer otherwise false
Trait Implementations§
Source§impl Clone for TabSizeValue
impl Clone for TabSizeValue
Source§fn clone(&self) -> TabSizeValue
fn clone(&self) -> TabSizeValue
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 TabSizeValue
impl Debug for TabSizeValue
Source§impl Display for TabSizeValue
impl Display for TabSizeValue
Source§impl PartialEq for TabSizeValue
impl PartialEq for TabSizeValue
impl StructuralPartialEq for TabSizeValue
impl UnitDataType<TabSize<TabSizeValue>> for TabSizeValue
Auto Trait Implementations§
impl Freeze for TabSizeValue
impl RefUnwindSafe for TabSizeValue
impl Send for TabSizeValue
impl Sync for TabSizeValue
impl Unpin for TabSizeValue
impl UnwindSafe for TabSizeValue
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