pub unsafe trait NewRef<T>: Repr {
type Error;
// Required method
fn new_ref(self, slice: &[T]) -> Result<MatRef<'_, Self>, Self::Error>;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".