pub struct CssLayerBuilder { /* private fields */ }Expand description
Builder for CssLayer.
Implementations§
Source§impl CssLayerBuilder
impl CssLayerBuilder
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 CssLayerBuilder
impl Clone for CssLayerBuilder
Source§fn clone(&self) -> CssLayerBuilder
fn clone(&self) -> CssLayerBuilder
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 CssLayerBuilder
impl RefUnwindSafe for CssLayerBuilder
impl Send for CssLayerBuilder
impl Sync for CssLayerBuilder
impl Unpin for CssLayerBuilder
impl UnsafeUnpin for CssLayerBuilder
impl UnwindSafe for CssLayerBuilder
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