Enum style::properties::declaration_block::DeclarationSource
[−]
[src]
pub enum DeclarationSource { Parsing, CssOm, }
Whether a given declaration comes from CSS parsing, or from CSSOM.
Variants
Parsing
The declaration was obtained from CSS parsing of sheets and such.
CssOm
The declaration was obtained from CSSOM.
Trait Implementations
impl Clone for DeclarationSource
[src]
fn clone(&self) -> DeclarationSource
[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 DeclarationSource
[src]
impl Debug for DeclarationSource
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for DeclarationSource
[src]
impl Hash for DeclarationSource
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl MallocSizeOf for DeclarationSource
[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