pub trait Scalar: Copy + Sized {
const WIDTH: usize;
// Required methods
fn from_words(words: &[u32]) -> Option<Self>;
fn write_words(self, words: &mut [u32]) -> Option<()>;
}Required Associated Constants§
Required Methods§
fn from_words(words: &[u32]) -> Option<Self>
fn write_words(self, words: &mut [u32]) -> Option<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".