pub struct CssAtRuleBuilder { /* private fields */ }Implementations§
Source§impl CssAtRuleBuilder
impl CssAtRuleBuilder
pub fn type(self, type: impl Into<CssAtRuleType>) -> CssAtRuleBuilder
pub fn subsection( self, subsection: impl Into<CssAtRuleSubsection>, ) -> CssAtRuleBuilder
pub fn name(self, name: impl Into<Value>) -> CssAtRuleBuilder
pub fn style_sheet_id( self, style_sheet_id: impl Into<StyleSheetId>, ) -> CssAtRuleBuilder
pub fn origin(self, origin: impl Into<StyleSheetOrigin>) -> CssAtRuleBuilder
pub fn style(self, style: impl Into<CssStyle>) -> CssAtRuleBuilder
pub fn build(self) -> Result<CssAtRule, String>
Trait Implementations§
Source§impl Clone for CssAtRuleBuilder
impl Clone for CssAtRuleBuilder
Source§fn clone(&self) -> CssAtRuleBuilder
fn clone(&self) -> CssAtRuleBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CssAtRuleBuilder
impl Default for CssAtRuleBuilder
Source§fn default() -> CssAtRuleBuilder
fn default() -> CssAtRuleBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssAtRuleBuilder
impl RefUnwindSafe for CssAtRuleBuilder
impl Send for CssAtRuleBuilder
impl Sync for CssAtRuleBuilder
impl Unpin for CssAtRuleBuilder
impl UnwindSafe for CssAtRuleBuilder
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