pub struct CSSRule {
pub selector: Selector,
pub declarations: Vec<Declaration>,
}Expand description
CSS 规则 (选择器 { 声明块 })
Fields§
§selector: Selector选择器
declarations: Vec<Declaration>声明列表
Implementations§
Trait Implementations§
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