pub struct CssScopeBuilder { /* private fields */ }Expand description
Builder for CssScope.
Implementations§
Source§impl CssScopeBuilder
impl CssScopeBuilder
Sourcepub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
pub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
The associated rule header range in the enclosing stylesheet (if available).
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
Identifier of the stylesheet containing this object (if exists).
Trait Implementations§
Source§impl Clone for CssScopeBuilder
impl Clone for CssScopeBuilder
Source§fn clone(&self) -> CssScopeBuilder
fn clone(&self) -> CssScopeBuilder
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 CssScopeBuilder
impl RefUnwindSafe for CssScopeBuilder
impl Send for CssScopeBuilder
impl Sync for CssScopeBuilder
impl Unpin for CssScopeBuilder
impl UnsafeUnpin for CssScopeBuilder
impl UnwindSafe for CssScopeBuilder
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