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