pub enum CssWideKeyword {
Initial,
Inherit,
Unset,
Revert,
}Expand description
The keywords every property accepts in place of a value.
Variants§
Initial
The property’s initial value.
Inherit
The parent’s computed value, whether or not the property inherits by default.
Unset
inherit for inherited properties, initial for the rest.
Revert
Treated as unset: there is no user-agent stylesheet to revert to.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CssWideKeyword
Source§impl Debug for CssWideKeyword
impl Debug for CssWideKeyword
impl Eq for CssWideKeyword
Source§impl Hash for CssWideKeyword
impl Hash for CssWideKeyword
Source§impl PartialEq for CssWideKeyword
impl PartialEq for CssWideKeyword
Source§fn eq(&self, other: &CssWideKeyword) -> bool
fn eq(&self, other: &CssWideKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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