pub trait ToRawStableEncoding {
// Required method
fn to_raw_stable_encoding(&self) -> Vec<EncodingWidth>;
}Expand description
Converts a type to an encoding that is stable across rust compiler versions
Required Methods§
Sourcefn to_raw_stable_encoding(&self) -> Vec<EncodingWidth>
fn to_raw_stable_encoding(&self) -> Vec<EncodingWidth>
Converts a type to an encoding that is stable across rust compiler versions
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".