pub struct CssAtRuleBuilder { /* private fields */ }Expand description
Builder for CssAtRule.
Implementations§
Source§impl CssAtRuleBuilder
impl CssAtRuleBuilder
Sourcepub fn type<VALUE: Into<CssAtRuleType>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<CssAtRuleType>>(&mut self, value: VALUE) -> &mut Self
Type of at-rule.
Sourcepub fn subsection<VALUE: Into<CssAtRuleSubsection>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn subsection<VALUE: Into<CssAtRuleSubsection>>( &mut self, value: VALUE, ) -> &mut Self
Subsection of font-feature-values, if this is a subsection.
Sourcepub fn name<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Value>>(&mut self, value: VALUE) -> &mut Self
LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType) Associated name, if applicable.
Sourcepub fn style_sheet_id<VALUE: Into<StyleSheetId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn style_sheet_id<VALUE: Into<StyleSheetId>>( &mut self, value: VALUE, ) -> &mut Self
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Sourcepub fn origin<VALUE: Into<StyleSheetOrigin>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn origin<VALUE: Into<StyleSheetOrigin>>( &mut self, value: VALUE, ) -> &mut Self
Parent stylesheet’s origin.
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 moreAuto Trait Implementations§
impl Freeze for CssAtRuleBuilder
impl RefUnwindSafe for CssAtRuleBuilder
impl Send for CssAtRuleBuilder
impl Sync for CssAtRuleBuilder
impl Unpin for CssAtRuleBuilder
impl UnsafeUnpin 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