Struct chromiumoxide::cdp::browser_protocol::css::CssScopeBuilder
source · pub struct CssScopeBuilder { /* private fields */ }
Implementations§
source§impl CssScopeBuilder
impl CssScopeBuilder
pub fn text(self, text: impl Into<String>) -> CssScopeBuilder
pub fn range(self, range: impl Into<SourceRange>) -> CssScopeBuilder
pub fn style_sheet_id( self, style_sheet_id: impl Into<StyleSheetId>, ) -> CssScopeBuilder
pub fn build(self) -> Result<CssScope, String>
Trait Implementations§
source§impl Clone for CssScopeBuilder
impl Clone for CssScopeBuilder
source§fn clone(&self) -> CssScopeBuilder
fn clone(&self) -> CssScopeBuilder
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 CssScopeBuilder
impl Default for CssScopeBuilder
source§fn default() -> CssScopeBuilder
fn default() -> CssScopeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssScopeBuilder
impl RefUnwindSafe for CssScopeBuilder
impl Send for CssScopeBuilder
impl Sync for CssScopeBuilder
impl Unpin 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
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
)