#[repr(C)]pub struct SemanticTensorLayout {
pub role: u64,
pub index: u64,
pub element_bytes: u64,
pub scalar_type: u64,
pub rank: u64,
pub logical_axis: u64,
pub dimensions: [u64; 4],
pub strides_bytes: [u64; 4],
}Fields§
§role: u64§index: u64§element_bytes: u64§scalar_type: u64§rank: u64§logical_axis: u64§dimensions: [u64; 4]§strides_bytes: [u64; 4]Trait Implementations§
Source§impl Clone for SemanticTensorLayout
impl Clone for SemanticTensorLayout
Source§fn clone(&self) -> SemanticTensorLayout
fn clone(&self) -> SemanticTensorLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticTensorLayout
Source§impl Debug for SemanticTensorLayout
impl Debug for SemanticTensorLayout
Source§impl Default for SemanticTensorLayout
impl Default for SemanticTensorLayout
Source§fn default() -> SemanticTensorLayout
fn default() -> SemanticTensorLayout
Returns the “default value” for a type. Read more
impl DeviceRepr for SemanticTensorLayout
impl Eq for SemanticTensorLayout
Source§impl IntoKernelParamStorage for SemanticTensorLayout
impl IntoKernelParamStorage for SemanticTensorLayout
type Storage = SemanticTensorLayout
fn into_kernel_param_storage(self) -> Self
Source§impl KernelParamStorage for SemanticTensorLayout
impl KernelParamStorage for SemanticTensorLayout
fn as_kernel_param(&self) -> *mut c_void
Source§impl PartialEq for SemanticTensorLayout
impl PartialEq for SemanticTensorLayout
impl StructuralPartialEq for SemanticTensorLayout
Auto Trait Implementations§
impl Freeze for SemanticTensorLayout
impl RefUnwindSafe for SemanticTensorLayout
impl Send for SemanticTensorLayout
impl Sync for SemanticTensorLayout
impl Unpin for SemanticTensorLayout
impl UnsafeUnpin for SemanticTensorLayout
impl UnwindSafe for SemanticTensorLayout
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more