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