[][src]Trait craftio_rs::CraftWrapper

pub trait CraftWrapper<I> {
    pub fn into_inner(self) -> I;
}

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

pub fn into_inner(self) -> I[src]

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

Loading content...

Implementors

impl<R> CraftWrapper<R> for CraftReader<R>[src]

impl<R, W> CraftWrapper<(R, W)> for CraftConnection<R, W>[src]

impl<W> CraftWrapper<W> for CraftWriter<W>[src]

Loading content...