pub enum LeftValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
LengthPercentage(LengthPercentage),
}Variants§
Implementations§
Source§impl LeftValue
impl LeftValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is LeftValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is LeftValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is LeftValue::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 LeftValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is LeftValue::Unset otherwise false
Sourcepub const fn is_auto(&self) -> bool
pub const fn is_auto(&self) -> bool
Returns true if the enum is LeftValue::Auto otherwise false
Sourcepub const fn is_length_percentage(&self) -> bool
pub const fn is_length_percentage(&self) -> bool
Returns true if the enum is LeftValue::LengthPercentage otherwise false
Trait Implementations§
impl StructuralPartialEq for LeftValue
impl UnitDataType<Left<LeftValue>> for LeftValue
Auto Trait Implementations§
impl Freeze for LeftValue
impl RefUnwindSafe for LeftValue
impl Send for LeftValue
impl Sync for LeftValue
impl Unpin for LeftValue
impl UnwindSafe for LeftValue
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