Skip to main content

Inner

Trait Inner 

Source
pub trait Inner<T> {
    // Required method
    fn project(self) -> T;
}
Expand description

Trait for projecting the inner value of the Id’s tuple, i.e. returning u32 for Id(u32).

Required Methods§

Source

fn project(self) -> T

Return the inner value of the Id, i.e. returning u32 for Id(u32)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§