pub unsafe trait Element: Clone {
const KIND: Kind;
const ZERO: Self;
}
Expand description
Kinds for tensor elements
Safety
The specified Kind must be for a type that has the same length as Self.
pub unsafe trait Element: Clone {
const KIND: Kind;
const ZERO: Self;
}
Kinds for tensor elements
The specified Kind must be for a type that has the same length as Self.