Struct chrome_remote_interface_model::profiler::ProfileNodeBuilder [−][src]
This is supported on crate features
Profiler
and Runtime
and Debugger
only.Implementations
impl ProfileNodeBuilder
[src]
pub fn id(&mut self, v: u32) -> &mut Self
[src]
Unique id of the node.
pub fn call_frame(&mut self, v: CallFrame) -> &mut Self
[src]
Function location.
pub fn hit_count(&mut self, v: u32) -> &mut Self
[src]
Number of samples where this node was on top of the call stack.
pub fn children(&mut self, v: Vec<u32>) -> &mut Self
[src]
Child node ids.
pub fn deopt_reason(&mut self, v: String) -> &mut Self
[src]
The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
pub fn position_ticks(&mut self, v: Vec<PositionTickInfo>) -> &mut Self
[src]
An array of source position ticks.
pub fn build(&mut self) -> Result<ProfileNode, &'static str>
[src]
Trait Implementations
impl Clone for ProfileNodeBuilder
[src]
fn clone(&self) -> ProfileNodeBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProfileNodeBuilder
[src]
impl Default for ProfileNodeBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProfileNodeBuilder
[src]
impl Send for ProfileNodeBuilder
[src]
impl Sync for ProfileNodeBuilder
[src]
impl Unpin for ProfileNodeBuilder
[src]
impl UnwindSafe for ProfileNodeBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,