pub trait DictKey: Sized {
const BITS: u16;
// Required method
fn from_raw_data(raw_data: &[u8; 128]) -> Option<Self>;
}Expand description
Type which can be used as a dictionary key.
Required Associated Constants§
Required Methods§
Sourcefn from_raw_data(raw_data: &[u8; 128]) -> Option<Self>
fn from_raw_data(raw_data: &[u8; 128]) -> Option<Self>
Creates a key from a raw builder data.
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.