pub struct CssStyleSheetHeaderBuilder { /* private fields */ }
Implementations§
Source§impl CssStyleSheetHeaderBuilder
impl CssStyleSheetHeaderBuilder
pub fn style_sheet_id( self, style_sheet_id: impl Into<StyleSheetId>, ) -> CssStyleSheetHeaderBuilder
pub fn frame_id( self, frame_id: impl Into<FrameId>, ) -> CssStyleSheetHeaderBuilder
pub fn source_url( self, source_url: impl Into<String>, ) -> CssStyleSheetHeaderBuilder
pub fn source_map_url( self, source_map_url: impl Into<String>, ) -> CssStyleSheetHeaderBuilder
pub fn origin( self, origin: impl Into<StyleSheetOrigin>, ) -> CssStyleSheetHeaderBuilder
pub fn title(self, title: impl Into<String>) -> CssStyleSheetHeaderBuilder
pub fn owner_node( self, owner_node: impl Into<BackendNodeId>, ) -> CssStyleSheetHeaderBuilder
pub fn disabled(self, disabled: impl Into<bool>) -> CssStyleSheetHeaderBuilder
pub fn has_source_url( self, has_source_url: impl Into<bool>, ) -> CssStyleSheetHeaderBuilder
pub fn is_inline(self, is_inline: impl Into<bool>) -> CssStyleSheetHeaderBuilder
pub fn is_mutable( self, is_mutable: impl Into<bool>, ) -> CssStyleSheetHeaderBuilder
pub fn is_constructed( self, is_constructed: impl Into<bool>, ) -> CssStyleSheetHeaderBuilder
pub fn start_line( self, start_line: impl Into<f64>, ) -> CssStyleSheetHeaderBuilder
pub fn start_column( self, start_column: impl Into<f64>, ) -> CssStyleSheetHeaderBuilder
pub fn length(self, length: impl Into<f64>) -> CssStyleSheetHeaderBuilder
pub fn end_line(self, end_line: impl Into<f64>) -> CssStyleSheetHeaderBuilder
pub fn end_column( self, end_column: impl Into<f64>, ) -> CssStyleSheetHeaderBuilder
pub fn loading_failed( self, loading_failed: impl Into<bool>, ) -> CssStyleSheetHeaderBuilder
pub fn build(self) -> Result<CssStyleSheetHeader, String>
Trait Implementations§
Source§impl Clone for CssStyleSheetHeaderBuilder
impl Clone for CssStyleSheetHeaderBuilder
Source§fn clone(&self) -> CssStyleSheetHeaderBuilder
fn clone(&self) -> CssStyleSheetHeaderBuilder
Returns a copy 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 moreSource§impl Default for CssStyleSheetHeaderBuilder
impl Default for CssStyleSheetHeaderBuilder
Source§fn default() -> CssStyleSheetHeaderBuilder
fn default() -> CssStyleSheetHeaderBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssStyleSheetHeaderBuilder
impl RefUnwindSafe for CssStyleSheetHeaderBuilder
impl Send for CssStyleSheetHeaderBuilder
impl Sync for CssStyleSheetHeaderBuilder
impl Unpin for CssStyleSheetHeaderBuilder
impl UnwindSafe for CssStyleSheetHeaderBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more