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