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