pub trait ElementOrdered:
Element
+ ElementComparison
+ ElementLimits { }Expand description
Ordered element trait for tensor values.
This trait extends Element with ordering semantics, enabling comparison
and order-dependent operations in generic Rust implementations.
Backends that implement these operations entirely at the device level do not rely on this trait. It only constrains the scalar type for generic Rust code.
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.