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