Struct rquickjs_sys::JSMallocState
source · [−]#[repr(C)]pub struct JSMallocState {
pub malloc_count: size_t,
pub malloc_size: size_t,
pub malloc_limit: size_t,
pub opaque: *mut c_void,
}
Fields
malloc_count: size_t
malloc_size: size_t
malloc_limit: size_t
opaque: *mut c_void
Trait Implementations
sourceimpl Clone for JSMallocState
impl Clone for JSMallocState
sourcefn clone(&self) -> JSMallocState
fn clone(&self) -> JSMallocState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JSMallocState
impl Debug for JSMallocState
impl Copy for JSMallocState
Auto Trait Implementations
impl RefUnwindSafe for JSMallocState
impl !Send for JSMallocState
impl !Sync for JSMallocState
impl Unpin for JSMallocState
impl UnwindSafe for JSMallocState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more