pub struct GetHeapUsageReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetHeapUsageReturnObject.
Implementations§
Source§impl GetHeapUsageReturnObjectBuilder
impl GetHeapUsageReturnObjectBuilder
Sourcepub fn total_size(&mut self, value: JsFloat) -> &mut Self
pub fn total_size(&mut self, value: JsFloat) -> &mut Self
Allocated JavaScript heap size in bytes.
Sourcepub fn embedder_heap_used_size(&mut self, value: JsFloat) -> &mut Self
pub fn embedder_heap_used_size(&mut self, value: JsFloat) -> &mut Self
Used size in bytes in the embedder’s garbage-collected heap.
Sourcepub fn backing_storage_size(&mut self, value: JsFloat) -> &mut Self
pub fn backing_storage_size(&mut self, value: JsFloat) -> &mut Self
Size in bytes of backing storage for array buffers and external strings.
Sourcepub fn build(
&self,
) -> Result<GetHeapUsageReturnObject, GetHeapUsageReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetHeapUsageReturnObject, GetHeapUsageReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetHeapUsageReturnObjectBuilder
impl Clone for GetHeapUsageReturnObjectBuilder
Source§fn clone(&self) -> GetHeapUsageReturnObjectBuilder
fn clone(&self) -> GetHeapUsageReturnObjectBuilder
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 GetHeapUsageReturnObjectBuilder
impl RefUnwindSafe for GetHeapUsageReturnObjectBuilder
impl Send for GetHeapUsageReturnObjectBuilder
impl Sync for GetHeapUsageReturnObjectBuilder
impl Unpin for GetHeapUsageReturnObjectBuilder
impl UnsafeUnpin for GetHeapUsageReturnObjectBuilder
impl UnwindSafe for GetHeapUsageReturnObjectBuilder
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