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