#[repr(C)]pub struct PJRT_Chunk {
pub data: *mut c_void,
pub size: usize,
pub deleter: Option<unsafe extern "C" fn(data: *mut c_void, deleter_arg: *mut c_void)>,
pub deleter_arg: *mut c_void,
}Fields§
§data: *mut c_void§size: usize§deleter: Option<unsafe extern "C" fn(data: *mut c_void, deleter_arg: *mut c_void)>§deleter_arg: *mut c_voidTrait Implementations§
Source§impl Clone for PJRT_Chunk
impl Clone for PJRT_Chunk
Source§fn clone(&self) -> PJRT_Chunk
fn clone(&self) -> PJRT_Chunk
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PJRT_Chunk
impl Debug for PJRT_Chunk
Source§impl Default for PJRT_Chunk
impl Default for PJRT_Chunk
impl Copy for PJRT_Chunk
Auto Trait Implementations§
impl Freeze for PJRT_Chunk
impl RefUnwindSafe for PJRT_Chunk
impl !Send for PJRT_Chunk
impl !Sync for PJRT_Chunk
impl Unpin for PJRT_Chunk
impl UnwindSafe for PJRT_Chunk
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)