CraftWrapper

Trait CraftWrapper 

Source
pub trait CraftWrapper<I> {
    // Required method
    fn into_inner(self) -> I;
}
Expand description

Indicates that a type provided by this crate is wrapping some inner value of type I, which can be unwrapped by calling the into_inner function.

Required Methods§

Source

fn into_inner(self) -> I

Unwraps the wrapped value of type I, and drops the wrapper type

Implementors§