Struct selectors::matching::DeclarationBlock
[−]
[src]
pub struct DeclarationBlock<T> { pub declarations: Arc<T>, pub source_order: usize, pub specificity: u32, }
A property declaration together with its precedence among rules of equal specificity so that we can sort them.
Fields
declarations: Arc<T>
source_order: usize
specificity: u32
Methods
impl<T> DeclarationBlock<T>
[src]
fn from_declarations(declarations: Arc<T>) -> DeclarationBlock<T>
Trait Implementations
impl<T: Debug> Debug for DeclarationBlock<T>
[src]
impl<T> Clone for DeclarationBlock<T>
[src]
fn clone(&self) -> DeclarationBlock<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more