Struct pjrt_sys::PJRT_Chunk
source · #[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 copy 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 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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)