Trait AdapterDescriptor

Source
pub trait AdapterDescriptor<K: AdapterKind>: 'static {
    type Configuration<'a>;
    type Handler: ?Sized;
}
Expand description

Describes the layout of an adapter and its configuration type.

Required Associated Types§

Source

type Configuration<'a>

The datastructure that this adapter accepts during context creation.

Source

type Handler: ?Sized

The datastructure that stores user state and handles adapter callbacks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AdapterDescriptor<Input> for ByteBuffer

Source§

impl AdapterDescriptor<Input> for File

Source§

impl AdapterDescriptor<Output> for ByteBuffer

Source§

impl AdapterDescriptor<Output> for File

Source§

impl AdapterDescriptor<Output> for StdOut

Source§

impl AdapterDescriptor<Parse> for GvoxBrickmap

Source§

impl AdapterDescriptor<Parse> for GvoxGlobalPalette

Source§

impl AdapterDescriptor<Parse> for GvoxOctree

Source§

impl AdapterDescriptor<Parse> for GvoxPalette

Source§

impl AdapterDescriptor<Parse> for GvoxRaw

Source§

impl AdapterDescriptor<Parse> for GvoxRunLengthEncoding

Source§

impl AdapterDescriptor<Parse> for Kvx

Source§

impl AdapterDescriptor<Parse> for MagicaVoxel

Source§

impl AdapterDescriptor<Parse> for Voxlap

Source§

impl AdapterDescriptor<Serialize> for ColoredText

Source§

impl AdapterDescriptor<Serialize> for GvoxBrickmap

Source§

impl AdapterDescriptor<Serialize> for GvoxGlobalPalette

Source§

impl AdapterDescriptor<Serialize> for GvoxOctree

Source§

impl AdapterDescriptor<Serialize> for GvoxPalette

Source§

impl AdapterDescriptor<Serialize> for GvoxRaw

Source§

impl AdapterDescriptor<Serialize> for GvoxRunLengthEncoding