Skip to main content

Codify

Trait Codify 

Source
pub trait Codify {
    // Required method
    fn init_code(&self) -> Cow<'static, str>;
}

Required Methods§

Source

fn init_code(&self) -> Cow<'static, str>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Codify for &str

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl Codify for String

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<'a, T> Codify for Cow<'a, T>
where T: Clone, for<'b> &'b T: Codify,

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<E, S: BuildHasher> Codify for HashSet<E, S>
where E: Codify,

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<K, V, S: BuildHasher> Codify for HashMap<K, V, S>
where K: Codify, V: Codify,

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<T: Codify> Codify for Option<T>

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<T> Codify for Box<T>
where for<'b> &'b T: Codify,

Source§

fn init_code(&self) -> Cow<'static, str>

Source§

impl<T> Codify for Vec<T>
where T: Codify,

Source§

fn init_code(&self) -> Cow<'static, str>

Implementors§