pub struct CssGroup { /* private fields */ }Implementations§
Source§impl CssGroup
impl CssGroup
pub fn media_print() -> Self
pub fn media_screen() -> Self
pub fn media<T: ToString>(query: T) -> Self
Sourcepub fn ruleset(self, ruleset: CssRuleset) -> Self
pub fn ruleset(self, ruleset: CssRuleset) -> Self
Adds a new ruleset to this group.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CssGroup
impl RefUnwindSafe for CssGroup
impl Send for CssGroup
impl Sync for CssGroup
impl Unpin for CssGroup
impl UnwindSafe for CssGroup
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