Struct pjrt_sys::PJRT_Buffer_MemoryLayout
source · #[repr(C)]pub struct PJRT_Buffer_MemoryLayout {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub __bindgen_anon_1: PJRT_Buffer_MemoryLayout__bindgen_ty_1,
pub type_: PJRT_Buffer_MemoryLayout_Type,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§__bindgen_anon_1: PJRT_Buffer_MemoryLayout__bindgen_ty_1§type_: PJRT_Buffer_MemoryLayout_TypeImplementations§
source§impl PJRT_Buffer_MemoryLayout
impl PJRT_Buffer_MemoryLayout
pub const STRUCT_SIZE: usize = 76usize
pub fn new() -> Self
Trait Implementations§
source§impl Clone for PJRT_Buffer_MemoryLayout
impl Clone for PJRT_Buffer_MemoryLayout
source§fn clone(&self) -> PJRT_Buffer_MemoryLayout
fn clone(&self) -> PJRT_Buffer_MemoryLayout
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 Default for PJRT_Buffer_MemoryLayout
impl Default for PJRT_Buffer_MemoryLayout
impl Copy for PJRT_Buffer_MemoryLayout
Auto Trait Implementations§
impl Freeze for PJRT_Buffer_MemoryLayout
impl RefUnwindSafe for PJRT_Buffer_MemoryLayout
impl !Send for PJRT_Buffer_MemoryLayout
impl !Sync for PJRT_Buffer_MemoryLayout
impl Unpin for PJRT_Buffer_MemoryLayout
impl UnwindSafe for PJRT_Buffer_MemoryLayout
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)