pub struct CssRule {
pub selector: CssSelector,
pub style: CssStyle,
}Expand description
A single CSS rule (selector + declarations)
Fields§
§selector: CssSelectorThe selector for this rule
style: CssStyleThe style declarations
Trait Implementations§
impl StructuralPartialEq for CssRule
Auto Trait Implementations§
impl Freeze for CssRule
impl RefUnwindSafe for CssRule
impl Send for CssRule
impl Sync for CssRule
impl Unpin for CssRule
impl UnsafeUnpin for CssRule
impl UnwindSafe for CssRule
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