Struct chromiumoxide::cdp::js_protocol::profiler::ScriptTypeProfileBuilder
source · pub struct ScriptTypeProfileBuilder { /* private fields */ }
Implementations§
source§impl ScriptTypeProfileBuilder
impl ScriptTypeProfileBuilder
pub fn script_id( self, script_id: impl Into<ScriptId> ) -> ScriptTypeProfileBuilder
pub fn url(self, url: impl Into<String>) -> ScriptTypeProfileBuilder
pub fn entrie( self, entrie: impl Into<TypeProfileEntry> ) -> ScriptTypeProfileBuilder
pub fn entries<I, S>(self, entries: I) -> ScriptTypeProfileBuilder
pub fn build(self) -> Result<ScriptTypeProfile, String>
Trait Implementations§
source§impl Clone for ScriptTypeProfileBuilder
impl Clone for ScriptTypeProfileBuilder
source§fn clone(&self) -> ScriptTypeProfileBuilder
fn clone(&self) -> ScriptTypeProfileBuilder
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 ScriptTypeProfileBuilder
impl Default for ScriptTypeProfileBuilder
source§fn default() -> ScriptTypeProfileBuilder
fn default() -> ScriptTypeProfileBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScriptTypeProfileBuilder
impl RefUnwindSafe for ScriptTypeProfileBuilder
impl Send for ScriptTypeProfileBuilder
impl Sync for ScriptTypeProfileBuilder
impl Unpin for ScriptTypeProfileBuilder
impl UnwindSafe for ScriptTypeProfileBuilder
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