Struct chromiumoxide::cdp::js_protocol::profiler::ProfileNodeBuilder
source · pub struct ProfileNodeBuilder { /* private fields */ }
Implementations§
source§impl ProfileNodeBuilder
impl ProfileNodeBuilder
pub fn id(self, id: impl Into<i64>) -> ProfileNodeBuilder
pub fn call_frame(self, call_frame: impl Into<CallFrame>) -> ProfileNodeBuilder
pub fn hit_count(self, hit_count: impl Into<i64>) -> ProfileNodeBuilder
pub fn children(self, children: impl Into<i64>) -> ProfileNodeBuilder
pub fn childrens<I, S>(self, childrens: I) -> ProfileNodeBuilder
pub fn deopt_reason(self, deopt_reason: impl Into<String>) -> ProfileNodeBuilder
pub fn position_tick( self, position_tick: impl Into<PositionTickInfo> ) -> ProfileNodeBuilder
pub fn position_ticks<I, S>(self, position_ticks: I) -> ProfileNodeBuilder
pub fn build(self) -> Result<ProfileNode, String>
Trait Implementations§
source§impl Clone for ProfileNodeBuilder
impl Clone for ProfileNodeBuilder
source§fn clone(&self) -> ProfileNodeBuilder
fn clone(&self) -> ProfileNodeBuilder
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 ProfileNodeBuilder
impl Default for ProfileNodeBuilder
source§fn default() -> ProfileNodeBuilder
fn default() -> ProfileNodeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProfileNodeBuilder
impl Send for ProfileNodeBuilder
impl Sync for ProfileNodeBuilder
impl Unpin for ProfileNodeBuilder
impl UnwindSafe for ProfileNodeBuilder
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