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