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