[][src]Trait destruct_lib::Destruct

pub trait Destruct: Sized {
    type DestructType: From<Self> + Into<Self>;
    fn destruct(self) -> Self::DestructType;
fn construct(d: Self::DestructType) -> Self; }

Associated Types

type DestructType: From<Self> + Into<Self>

Loading content...

Required methods

fn destruct(self) -> Self::DestructType

fn construct(d: Self::DestructType) -> Self

Loading content...

Implementors

Loading content...