Skip to main content

ToRawStableEncoding

Trait ToRawStableEncoding 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl ToRawStableEncoding for OsStr

Source§

impl ToRawStableEncoding for OsString

Source§

impl ToRawStableEncoding for Path

Source§

impl ToRawStableEncoding for PathBuf

Implementors§