#[repr(C)]pub struct PJRT_TopologyDescription_Create_Args {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub topology_name: *const c_char,
pub topology_name_size: usize,
pub create_options: *const PJRT_NamedValue,
pub num_options: usize,
pub topology: *mut PJRT_TopologyDescription,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§topology_name: *const c_char§topology_name_size: usize§create_options: *const PJRT_NamedValue§num_options: usize§topology: *mut PJRT_TopologyDescriptionImplementations§
Source§impl PJRT_TopologyDescription_Create_Args
impl PJRT_TopologyDescription_Create_Args
pub const STRUCT_SIZE: usize = 56usize
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for PJRT_TopologyDescription_Create_Args
impl Clone for PJRT_TopologyDescription_Create_Args
Source§fn clone(&self) -> PJRT_TopologyDescription_Create_Args
fn clone(&self) -> PJRT_TopologyDescription_Create_Args
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 moreimpl Copy for PJRT_TopologyDescription_Create_Args
Auto Trait Implementations§
impl Freeze for PJRT_TopologyDescription_Create_Args
impl RefUnwindSafe for PJRT_TopologyDescription_Create_Args
impl !Send for PJRT_TopologyDescription_Create_Args
impl !Sync for PJRT_TopologyDescription_Create_Args
impl Unpin for PJRT_TopologyDescription_Create_Args
impl UnwindSafe for PJRT_TopologyDescription_Create_Args
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)