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