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