Trait stable_id::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)

Implementors§