IdExt

Trait IdExt 

Source
pub trait IdExt {
    // Required methods
    fn stable<S: AsRef<str>>(id: S) -> Id;
    fn stable_and_unstable<S: AsRef<str>>(id: S) -> (Id, Id);
    fn unstable<S: AsRef<str>>(id: S) -> Id;
}

Required Methods§

Source

fn stable<S: AsRef<str>>(id: S) -> Id

Source

fn stable_and_unstable<S: AsRef<str>>(id: S) -> (Id, Id)

Source

fn unstable<S: AsRef<str>>(id: S) -> Id

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.

Implementors§

Source§

impl IdExt for Id