Struct pjrt_sys::PJRT_Client_Create_Args
source · #[repr(C)]pub struct PJRT_Client_Create_Args {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub create_options: *const PJRT_NamedValue,
pub num_options: usize,
pub kv_get_callback: PJRT_KeyValueGetCallback,
pub kv_get_user_arg: *mut c_void,
pub kv_put_callback: PJRT_KeyValuePutCallback,
pub kv_put_user_arg: *mut c_void,
pub client: *mut PJRT_Client,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§create_options: *const PJRT_NamedValue§num_options: usize§kv_get_callback: PJRT_KeyValueGetCallback§kv_get_user_arg: *mut c_void§kv_put_callback: PJRT_KeyValuePutCallback§kv_put_user_arg: *mut c_void§client: *mut PJRT_ClientImplementations§
source§impl PJRT_Client_Create_Args
impl PJRT_Client_Create_Args
pub const STRUCT_SIZE: usize = 36usize
pub fn new() -> Self
Trait Implementations§
source§impl Clone for PJRT_Client_Create_Args
impl Clone for PJRT_Client_Create_Args
source§fn clone(&self) -> PJRT_Client_Create_Args
fn clone(&self) -> PJRT_Client_Create_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_Client_Create_Args
impl Debug for PJRT_Client_Create_Args
source§impl Default for PJRT_Client_Create_Args
impl Default for PJRT_Client_Create_Args
impl Copy for PJRT_Client_Create_Args
Auto Trait Implementations§
impl Freeze for PJRT_Client_Create_Args
impl RefUnwindSafe for PJRT_Client_Create_Args
impl !Send for PJRT_Client_Create_Args
impl !Sync for PJRT_Client_Create_Args
impl Unpin for PJRT_Client_Create_Args
impl UnwindSafe for PJRT_Client_Create_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)