Trait CoreProxy

pub trait CoreProxy

A proxy trait to the core block-level type.

Associated Types

type Core: BufferKindUser;

Core block-level type.

Required Methods

fn compose(core: Self::Core, buffer: Buffer<Self::Core>) -> Self

Create Self from core and buffer.

fn decompose(self) -> (Self::Core, Buffer<Self::Core>)

Decompose self into core and buffer.