pub struct CssStyleRule {
pub selector_text: String,
pub style: CssStyleDeclaration,
}Expand description
CSSStyleRule — a single style rule.
Fields§
§selector_text: String§style: CssStyleDeclarationTrait Implementations§
Source§impl Clone for CssStyleRule
impl Clone for CssStyleRule
Source§fn clone(&self) -> CssStyleRule
fn clone(&self) -> CssStyleRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CssStyleRule
impl Debug for CssStyleRule
Auto Trait Implementations§
impl Freeze for CssStyleRule
impl RefUnwindSafe for CssStyleRule
impl Send for CssStyleRule
impl Sync for CssStyleRule
impl Unpin for CssStyleRule
impl UnsafeUnpin for CssStyleRule
impl UnwindSafe for CssStyleRule
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