#[repr(C)]pub struct PJRT_NamedValue {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub name: *const c_char,
pub name_size: usize,
pub type_: PJRT_NamedValue_Type,
pub __bindgen_anon_1: PJRT_NamedValue__bindgen_ty_1,
pub value_size: usize,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§name: *const c_char§name_size: usize§type_: PJRT_NamedValue_Type§__bindgen_anon_1: PJRT_NamedValue__bindgen_ty_1§value_size: usizeImplementations§
Source§impl PJRT_NamedValue
impl PJRT_NamedValue
pub const STRUCT_SIZE: usize = 56usize
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for PJRT_NamedValue
impl Clone for PJRT_NamedValue
Source§fn clone(&self) -> PJRT_NamedValue
fn clone(&self) -> PJRT_NamedValue
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 Default for PJRT_NamedValue
impl Default for PJRT_NamedValue
impl Copy for PJRT_NamedValue
Auto Trait Implementations§
impl Freeze for PJRT_NamedValue
impl RefUnwindSafe for PJRT_NamedValue
impl !Send for PJRT_NamedValue
impl !Sync for PJRT_NamedValue
impl Unpin for PJRT_NamedValue
impl UnwindSafe for PJRT_NamedValue
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)