#[repr(C)]pub struct PJRT_ExecuteOptions {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub send_callbacks: *mut *mut PJRT_SendCallbackInfo,
pub recv_callbacks: *mut *mut PJRT_RecvCallbackInfo,
pub num_send_ops: usize,
pub num_recv_ops: usize,
pub launch_id: c_int,
pub non_donatable_input_indices: *const i64,
pub num_non_donatable_input_indices: usize,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§send_callbacks: *mut *mut PJRT_SendCallbackInfo§recv_callbacks: *mut *mut PJRT_RecvCallbackInfo§num_send_ops: usize§num_recv_ops: usize§launch_id: c_int§non_donatable_input_indices: *const i64§num_non_donatable_input_indices: usizeImplementations§
Source§impl PJRT_ExecuteOptions
impl PJRT_ExecuteOptions
pub const STRUCT_SIZE: usize = 72usize
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for PJRT_ExecuteOptions
impl Clone for PJRT_ExecuteOptions
Source§fn clone(&self) -> PJRT_ExecuteOptions
fn clone(&self) -> PJRT_ExecuteOptions
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_ExecuteOptions
impl Debug for PJRT_ExecuteOptions
Source§impl Default for PJRT_ExecuteOptions
impl Default for PJRT_ExecuteOptions
impl Copy for PJRT_ExecuteOptions
Auto Trait Implementations§
impl Freeze for PJRT_ExecuteOptions
impl RefUnwindSafe for PJRT_ExecuteOptions
impl !Send for PJRT_ExecuteOptions
impl !Sync for PJRT_ExecuteOptions
impl Unpin for PJRT_ExecuteOptions
impl UnwindSafe for PJRT_ExecuteOptions
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)