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