#[repr(C)]pub struct jdwpTransportCallback {
pub alloc: Option<unsafe extern "C" fn(numBytes: jint) -> *mut c_void>,
pub free: Option<unsafe extern "C" fn(buffer: *mut c_void)>,
}
Fields§
§alloc: Option<unsafe extern "C" fn(numBytes: jint) -> *mut c_void>
§free: Option<unsafe extern "C" fn(buffer: *mut c_void)>
Trait Implementations§
Source§impl Clone for jdwpTransportCallback
impl Clone for jdwpTransportCallback
Source§fn clone(&self) -> jdwpTransportCallback
fn clone(&self) -> jdwpTransportCallback
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 moreSource§impl Debug for jdwpTransportCallback
impl Debug for jdwpTransportCallback
impl Copy for jdwpTransportCallback
Auto Trait Implementations§
impl Freeze for jdwpTransportCallback
impl RefUnwindSafe for jdwpTransportCallback
impl Send for jdwpTransportCallback
impl Sync for jdwpTransportCallback
impl Unpin for jdwpTransportCallback
impl UnwindSafe for jdwpTransportCallback
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