pub enum CssWideKeyword {
initial,
inherit,
unset,
}Expand description
An enum to represent a CSS-wide keyword.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CssWideKeyword
impl Clone for CssWideKeyword
Source§fn clone(&self) -> CssWideKeyword
fn clone(&self) -> CssWideKeyword
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 CssWideKeyword
impl Debug for CssWideKeyword
Source§impl Hash for CssWideKeyword
impl Hash for CssWideKeyword
Source§impl Ord for CssWideKeyword
impl Ord for CssWideKeyword
Source§fn cmp(&self, other: &CssWideKeyword) -> Ordering
fn cmp(&self, other: &CssWideKeyword) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CssWideKeyword
impl PartialEq for CssWideKeyword
Source§impl PartialOrd for CssWideKeyword
impl PartialOrd for CssWideKeyword
Source§impl ToCss for CssWideKeyword
impl ToCss for CssWideKeyword
impl Copy for CssWideKeyword
impl Eq for CssWideKeyword
impl StructuralPartialEq for CssWideKeyword
Auto Trait Implementations§
impl Freeze for CssWideKeyword
impl RefUnwindSafe for CssWideKeyword
impl Send for CssWideKeyword
impl Sync for CssWideKeyword
impl Unpin for CssWideKeyword
impl UnwindSafe for CssWideKeyword
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