pub trait TensorType: Sealed {
type H;
// Required method
fn owned() -> bool;
// Provided method
fn borrowed() -> bool { ... }
}Expand description
A trait to represent the type of a tensor
Required Associated Types§
Required Methods§
Provided 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.