#[repr(C)]pub struct PJRT_Buffer_MemoryLayout_Tiled {
pub struct_size: usize,
pub extension_start: *mut PJRT_Extension_Base,
pub minor_to_major: *const i64,
pub minor_to_major_size: usize,
pub tile_dims: *const i64,
pub tile_dim_sizes: *const usize,
pub num_tiles: usize,
}Fields§
§struct_size: usize§extension_start: *mut PJRT_Extension_Base§minor_to_major: *const i64§minor_to_major_size: usize§tile_dims: *const i64§tile_dim_sizes: *const usize§num_tiles: usizeImplementations§
Source§impl PJRT_Buffer_MemoryLayout_Tiled
impl PJRT_Buffer_MemoryLayout_Tiled
pub const STRUCT_SIZE: usize = 56usize
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for PJRT_Buffer_MemoryLayout_Tiled
impl Clone for PJRT_Buffer_MemoryLayout_Tiled
Source§fn clone(&self) -> PJRT_Buffer_MemoryLayout_Tiled
fn clone(&self) -> PJRT_Buffer_MemoryLayout_Tiled
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_Buffer_MemoryLayout_Tiled
Auto Trait Implementations§
impl Freeze for PJRT_Buffer_MemoryLayout_Tiled
impl RefUnwindSafe for PJRT_Buffer_MemoryLayout_Tiled
impl !Send for PJRT_Buffer_MemoryLayout_Tiled
impl !Sync for PJRT_Buffer_MemoryLayout_Tiled
impl Unpin for PJRT_Buffer_MemoryLayout_Tiled
impl UnwindSafe for PJRT_Buffer_MemoryLayout_Tiled
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)