Struct pjrt_sys::PJRT_Memory_Id_Args
source · #[repr(C)]pub struct PJRT_Memory_Id_Args {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub memory: *mut PJRT_Memory,
pub id: c_int,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§memory: *mut PJRT_Memory§id: c_intImplementations§
source§impl PJRT_Memory_Id_Args
impl PJRT_Memory_Id_Args
pub const STRUCT_SIZE: usize = 16usize
pub fn new() -> Self
Trait Implementations§
source§impl Clone for PJRT_Memory_Id_Args
impl Clone for PJRT_Memory_Id_Args
source§fn clone(&self) -> PJRT_Memory_Id_Args
fn clone(&self) -> PJRT_Memory_Id_Args
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_Memory_Id_Args
impl Debug for PJRT_Memory_Id_Args
source§impl Default for PJRT_Memory_Id_Args
impl Default for PJRT_Memory_Id_Args
impl Copy for PJRT_Memory_Id_Args
Auto Trait Implementations§
impl Freeze for PJRT_Memory_Id_Args
impl RefUnwindSafe for PJRT_Memory_Id_Args
impl !Send for PJRT_Memory_Id_Args
impl !Sync for PJRT_Memory_Id_Args
impl Unpin for PJRT_Memory_Id_Args
impl UnwindSafe for PJRT_Memory_Id_Args
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)