Skip to main content

State

pub trait State<B> {
    type Buffer: Field;
    type Layout: Field;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<B, CS: State<B>> State<B> for SetBuffer<CS>

Source§

impl<B, CS: State<B>> State<B> for SetLayout<CS>

Source§

impl<B> State<B> for Empty