pub struct CSSAtRuleBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CSSAtRuleBuilder<'a>
impl<'a> CSSAtRuleBuilder<'a>
Sourcepub fn subsection(self, subsection: impl Into<Cow<'a, str>>) -> Self
pub fn subsection(self, subsection: impl Into<Cow<'a, str>>) -> Self
Subsection of font-feature-values, if this is a subsection.
Sourcepub fn name(self, name: ProtocolValue<'a>) -> Self
pub fn name(self, name: ProtocolValue<'a>) -> 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 styleSheetId(self, styleSheetId: StyleSheetId<'a>) -> Self
pub fn styleSheetId(self, styleSheetId: StyleSheetId<'a>) -> Self
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
pub fn build(self) -> CSSAtRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for CSSAtRuleBuilder<'a>
impl<'a> RefUnwindSafe for CSSAtRuleBuilder<'a>
impl<'a> Send for CSSAtRuleBuilder<'a>
impl<'a> Sync for CSSAtRuleBuilder<'a>
impl<'a> Unpin for CSSAtRuleBuilder<'a>
impl<'a> UnsafeUnpin for CSSAtRuleBuilder<'a>
impl<'a> UnwindSafe for CSSAtRuleBuilder<'a>
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