Struct pest_css_parser::NormalRule
source · pub struct NormalRule {
pub selectors: Vec<Selector>,
pub declarations: HashMap<String, Value>,
}Fields§
§selectors: Vec<Selector>§declarations: HashMap<String, Value>Trait Implementations§
source§impl Clone for NormalRule
impl Clone for NormalRule
source§fn clone(&self) -> NormalRule
fn clone(&self) -> NormalRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NormalRule
impl Debug for NormalRule
source§impl Default for NormalRule
impl Default for NormalRule
source§fn default() -> NormalRule
fn default() -> NormalRule
Returns the “default value” for a type. Read more
source§impl PartialEq<NormalRule> for NormalRule
impl PartialEq<NormalRule> for NormalRule
source§fn eq(&self, other: &NormalRule) -> bool
fn eq(&self, other: &NormalRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NormalRule
Auto Trait Implementations§
impl RefUnwindSafe for NormalRule
impl Send for NormalRule
impl Sync for NormalRule
impl Unpin for NormalRule
impl UnwindSafe for NormalRule
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