pub trait ArrayExt: Array {
// Provided methods
fn as_<A: Array + 'static>(&self) -> &A { ... }
fn as_opt<A: Array + 'static>(&self) -> Option<&A> { ... }
fn is<A: Array + 'static>(&self) -> bool { ... }
}
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.