Struct selectors::matching::Rule [] [src]

pub struct Rule<T, Impl: SelectorImpl> {
    pub selector: Arc<CompoundSelector<Impl>>,
    pub declarations: DeclarationBlock<T>,
}

Fields

selector: Arc<CompoundSelector<Impl>> declarations: DeclarationBlock<T>

Trait Implementations

impl<T, Impl: SelectorImpl> Clone for Rule<T, Impl>
[src]

fn clone(&self) -> Rule<T, Impl>

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