pub trait IndexLike:
Clone
+ Eq
+ Hash { }Expand description
Trait bound for index labels used in contraction/factorization APIs.
§Examples
use ad_tensors_rs::IndexLike;
fn accepts_index<I: IndexLike>(_index: I) {}
accepts_index(3_u32);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.