pub struct OperationDescriptor {
pub opcode: Opcode,
pub element_type: ElementType,
pub root_rank: u32,
pub element_count: u64,
pub layout_hash: u64,
}Fields§
§opcode: Opcode§element_type: ElementType§root_rank: u32§element_count: u64§layout_hash: u64Implementations§
Source§impl OperationDescriptor
impl OperationDescriptor
pub const fn new( opcode: Opcode, element_type: ElementType, root_rank: u32, element_count: u64, ) -> Self
pub const fn with_layout_hash(self, layout_hash: u64) -> Self
Trait Implementations§
Source§impl Clone for OperationDescriptor
impl Clone for OperationDescriptor
Source§fn clone(&self) -> OperationDescriptor
fn clone(&self) -> OperationDescriptor
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 moreSource§impl Debug for OperationDescriptor
impl Debug for OperationDescriptor
impl Eq for OperationDescriptor
Source§impl PartialEq for OperationDescriptor
impl PartialEq for OperationDescriptor
impl StructuralPartialEq for OperationDescriptor
Auto Trait Implementations§
impl Freeze for OperationDescriptor
impl RefUnwindSafe for OperationDescriptor
impl Send for OperationDescriptor
impl Sync for OperationDescriptor
impl Unpin for OperationDescriptor
impl UnsafeUnpin for OperationDescriptor
impl UnwindSafe for OperationDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.