Enum style::properties::CSSWideKeyword
[−]
[src]
pub enum CSSWideKeyword {
Initial,
Inherit,
Unset,
}An enum to represent a CSS Wide keyword.
Variants
InitialThe initial keyword.
InheritThe inherit keyword.
UnsetThe unset keyword.
Methods
impl CSSWideKeyword[src]
pub fn from_ident<'i>(ident: &str) -> Option<Self>[src]
Takes the result of cssparser::Parser::expect_ident() and converts it to a CSSWideKeyword.
Trait Implementations
impl Clone for CSSWideKeyword[src]
fn clone(&self) -> CSSWideKeyword[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for CSSWideKeyword[src]
impl Debug for CSSWideKeyword[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for CSSWideKeyword[src]
impl MallocSizeOf for CSSWideKeyword[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl PartialEq for CSSWideKeyword[src]
fn eq(&self, __arg_0: &CSSWideKeyword) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.