pub struct CSSFunctionRuleBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CSSFunctionRuleBuilder<'a>
impl<'a> CSSFunctionRuleBuilder<'a>
Sourcepub fn style_sheet_id(self, style_sheet_id: StyleSheetId<'a>) -> Self
pub fn style_sheet_id(self, style_sheet_id: StyleSheetId<'a>) -> Self
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Sourcepub fn origin_tree_scope_node_id(
self,
origin_tree_scope_node_id: BackendNodeId,
) -> Self
pub fn origin_tree_scope_node_id( self, origin_tree_scope_node_id: BackendNodeId, ) -> Self
The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
pub fn build(self) -> CSSFunctionRule<'a>
Auto Trait Implementations§
impl<'a> Freeze for CSSFunctionRuleBuilder<'a>
impl<'a> RefUnwindSafe for CSSFunctionRuleBuilder<'a>
impl<'a> Send for CSSFunctionRuleBuilder<'a>
impl<'a> Sync for CSSFunctionRuleBuilder<'a>
impl<'a> Unpin for CSSFunctionRuleBuilder<'a>
impl<'a> UnsafeUnpin for CSSFunctionRuleBuilder<'a>
impl<'a> UnwindSafe for CSSFunctionRuleBuilder<'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