Struct jvmti_wrapper::jvmtiHeapCallbacks
source · [−]#[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
sourceimpl Clone for jvmtiHeapCallbacks
impl Clone for jvmtiHeapCallbacks
sourcefn clone(&self) -> jvmtiHeapCallbacks
fn clone(&self) -> jvmtiHeapCallbacks
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 Default for jvmtiHeapCallbacks
impl Default for jvmtiHeapCallbacks
sourcefn default() -> jvmtiHeapCallbacks
fn default() -> jvmtiHeapCallbacks
Returns the “default value” for a type. Read more
impl Copy for jvmtiHeapCallbacks
Auto Trait Implementations
impl RefUnwindSafe for jvmtiHeapCallbacks
impl Send for jvmtiHeapCallbacks
impl Sync for jvmtiHeapCallbacks
impl Unpin for jvmtiHeapCallbacks
impl UnwindSafe for jvmtiHeapCallbacks
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