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