pub struct CssStartingStyleBuilder { /* private fields */ }Expand description
Builder for CssStartingStyle.
Implementations§
Source§impl CssStartingStyleBuilder
impl CssStartingStyleBuilder
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).
Sourcepub fn build(&self) -> Result<CssStartingStyle, CssStartingStyleBuilderError>
pub fn build(&self) -> Result<CssStartingStyle, CssStartingStyleBuilderError>
Trait Implementations§
Source§impl Clone for CssStartingStyleBuilder
impl Clone for CssStartingStyleBuilder
Source§fn clone(&self) -> CssStartingStyleBuilder
fn clone(&self) -> CssStartingStyleBuilder
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 CssStartingStyleBuilder
impl RefUnwindSafe for CssStartingStyleBuilder
impl Send for CssStartingStyleBuilder
impl Sync for CssStartingStyleBuilder
impl Unpin for CssStartingStyleBuilder
impl UnsafeUnpin for CssStartingStyleBuilder
impl UnwindSafe for CssStartingStyleBuilder
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