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