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