Skip to main content

AsExtra

Trait AsExtra 

Source
pub trait AsExtra: CanonicalExtra + AsRef<Self::Extra> {
    // Provided method
    fn as_extra(&self) -> &Self::Extra { ... }
}

Provided Methods§

Source

fn as_extra(&self) -> &Self::Extra

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§