Struct chromiumoxide::cdp::browser_protocol::css::CssLayerBuilder
source · pub struct CssLayerBuilder { /* private fields */ }
Implementations§
source§impl CssLayerBuilder
impl CssLayerBuilder
pub fn text(self, text: impl Into<String>) -> CssLayerBuilder
pub fn range(self, range: impl Into<SourceRange>) -> CssLayerBuilder
pub fn style_sheet_id( self, style_sheet_id: impl Into<StyleSheetId>, ) -> CssLayerBuilder
pub fn build(self) -> Result<CssLayer, String>
Trait Implementations§
source§impl Clone for CssLayerBuilder
impl Clone for CssLayerBuilder
source§fn clone(&self) -> CssLayerBuilder
fn clone(&self) -> CssLayerBuilder
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 CssLayerBuilder
impl Default for CssLayerBuilder
source§fn default() -> CssLayerBuilder
fn default() -> CssLayerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssLayerBuilder
impl RefUnwindSafe for CssLayerBuilder
impl Send for CssLayerBuilder
impl Sync for CssLayerBuilder
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)