Skip to main content

IntoRawStableEncoding

Trait IntoRawStableEncoding 

Source
pub trait IntoRawStableEncoding {
    // Required method
    fn into_raw_stable_encoding(self) -> Vec<EncodingWidth> ⓘ;
}
Expand description

Converts an owned type to an encoding that is stable across rust compiler versions, bypassing data copies if possible

Required Methods§

Source

fn into_raw_stable_encoding(self) -> Vec<EncodingWidth> ⓘ

Converts an owned type to an encoding that is stable across rust compiler versions, bypassing data copies if possible

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoRawStableEncoding for Cow<'_, OsStr>

Source§

impl IntoRawStableEncoding for Cow<'_, Path>

Source§

impl IntoRawStableEncoding for OsString

Source§

impl IntoRawStableEncoding for PathBuf

Implementors§