Trait NumericValue
pub trait NumericValue: Sized {
// Required methods
fn data_type() -> TypeInfo;
fn data_len() -> DataLenBits;
fn write_to_vec(self, buf: &mut Vec<u8>);
// Provided method
fn size() -> usize { ... }
}Required Methods§
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.