Trait Element
pub trait Element:
ToElement
+ ElementRandom
+ ElementConversion
+ ElementPrecision
+ ElementComparison
+ CheckedBitPattern
+ NoUninit
+ Debug
+ Display
+ Default
+ Send
+ Sync
+ Copy
+ 'static {
// Required method
fn dtype() -> DType;
}
Expand description
Element trait for tensor.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.