Struct inline_css::Rule
source · pub struct Rule {
pub selector: Selector,
pub declarations: Vec<Declaration>,
}
Expand description
A single CSS rule.
See the crate-level documentation.
Fields§
§selector: Selector
§declarations: Vec<Declaration>
Trait Implementations§
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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