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