pub trait TensorCell:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn dtype() -> Symbol;
fn to_value(&self) -> Result<Value>;
}Expand description
A scalar cell type that can be held in typed host tensor storage.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".