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