pub struct HeapStatsUpdateEventParamsBuilder { /* private fields */ }Expand description
Builder for HeapStatsUpdateEventParams.
Implementations§
Source§impl HeapStatsUpdateEventParamsBuilder
impl HeapStatsUpdateEventParamsBuilder
Sourcepub fn stats_update(&mut self, value: Vec<JsUInt>) -> &mut Self
pub fn stats_update(&mut self, value: Vec<JsUInt>) -> &mut Self
An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
Sourcepub fn build(
&self,
) -> Result<HeapStatsUpdateEventParams, HeapStatsUpdateEventParamsBuilderError>
pub fn build( &self, ) -> Result<HeapStatsUpdateEventParams, HeapStatsUpdateEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for HeapStatsUpdateEventParamsBuilder
impl Clone for HeapStatsUpdateEventParamsBuilder
Source§fn clone(&self) -> HeapStatsUpdateEventParamsBuilder
fn clone(&self) -> HeapStatsUpdateEventParamsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for HeapStatsUpdateEventParamsBuilder
impl RefUnwindSafe for HeapStatsUpdateEventParamsBuilder
impl Send for HeapStatsUpdateEventParamsBuilder
impl Sync for HeapStatsUpdateEventParamsBuilder
impl Unpin for HeapStatsUpdateEventParamsBuilder
impl UnsafeUnpin for HeapStatsUpdateEventParamsBuilder
impl UnwindSafe for HeapStatsUpdateEventParamsBuilder
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