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