#[repr(C)]
pub struct jvmtiHeapCallbacks {
Show 16 fields pub heap_iteration_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, i32, *mut c_void) -> i32>, pub heap_reference_callback: Option<unsafe extern "C" fn(jvmtiHeapReferenceKind, *const jvmtiHeapReferenceInfo, i64, i64, i64, *mut i64, *mut i64, i32, *mut c_void) -> i32>, pub primitive_field_callback: Option<unsafe extern "C" fn(jvmtiHeapReferenceKind, *const jvmtiHeapReferenceInfo, i64, *mut i64, jvalue, jvmtiPrimitiveType, *mut c_void) -> i32>, pub array_primitive_value_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, i32, jvmtiPrimitiveType, *const c_void, *mut c_void) -> i32>, pub string_primitive_value_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, *const u16, i32, *mut c_void) -> i32>, pub reserved5: Option<extern "C" fn() -> i32>, pub reserved6: Option<extern "C" fn() -> i32>, pub reserved7: Option<extern "C" fn() -> i32>, pub reserved8: Option<extern "C" fn() -> i32>, pub reserved9: Option<extern "C" fn() -> i32>, pub reserved10: Option<extern "C" fn() -> i32>, pub reserved11: Option<extern "C" fn() -> i32>, pub reserved12: Option<extern "C" fn() -> i32>, pub reserved13: Option<extern "C" fn() -> i32>, pub reserved14: Option<extern "C" fn() -> i32>, pub reserved15: Option<extern "C" fn() -> i32>,
}

Fields

heap_iteration_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, i32, *mut c_void) -> i32>heap_reference_callback: Option<unsafe extern "C" fn(jvmtiHeapReferenceKind, *const jvmtiHeapReferenceInfo, i64, i64, i64, *mut i64, *mut i64, i32, *mut c_void) -> i32>primitive_field_callback: Option<unsafe extern "C" fn(jvmtiHeapReferenceKind, *const jvmtiHeapReferenceInfo, i64, *mut i64, jvalue, jvmtiPrimitiveType, *mut c_void) -> i32>array_primitive_value_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, i32, jvmtiPrimitiveType, *const c_void, *mut c_void) -> i32>string_primitive_value_callback: Option<unsafe extern "C" fn(i64, i64, *mut i64, *const u16, i32, *mut c_void) -> i32>reserved5: Option<extern "C" fn() -> i32>reserved6: Option<extern "C" fn() -> i32>reserved7: Option<extern "C" fn() -> i32>reserved8: Option<extern "C" fn() -> i32>reserved9: Option<extern "C" fn() -> i32>reserved10: Option<extern "C" fn() -> i32>reserved11: Option<extern "C" fn() -> i32>reserved12: Option<extern "C" fn() -> i32>reserved13: Option<extern "C" fn() -> i32>reserved14: Option<extern "C" fn() -> i32>reserved15: Option<extern "C" fn() -> i32>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Look up the concrete type from the JVM.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.