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