pub enum KernelValueKind {
Real,
Complex,
Vector {
len: usize,
},
Matrix {
rows: usize,
cols: usize,
},
}Expand description
Runtime shape and scalar representation of a kernel value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for KernelValueKind
impl Clone for KernelValueKind
Source§fn clone(&self) -> KernelValueKind
fn clone(&self) -> KernelValueKind
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 KernelValueKind
Source§impl Debug for KernelValueKind
impl Debug for KernelValueKind
impl Eq for KernelValueKind
Source§impl PartialEq for KernelValueKind
impl PartialEq for KernelValueKind
impl StructuralPartialEq for KernelValueKind
Auto Trait Implementations§
impl Freeze for KernelValueKind
impl RefUnwindSafe for KernelValueKind
impl Send for KernelValueKind
impl Sync for KernelValueKind
impl Unpin for KernelValueKind
impl UnsafeUnpin for KernelValueKind
impl UnwindSafe for KernelValueKind
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