Skip to main content

State

pub trait State<'a> {
    type Label: Field;
    type Layout: Field;
    type Entries: 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<'a, CS: State<'a>> State<'a> for SetEntries<CS>

Source§

type Label = <CS as State<'a>>::Label

Source§

type Layout = <CS as State<'a>>::Layout

Source§

type Entries = EntriesValue<'a>

Source§

impl<'a, CS: State<'a>> State<'a> for SetLabel<CS>

Source§

type Label = LabelValue<'a>

Source§

type Layout = <CS as State<'a>>::Layout

Source§

type Entries = <CS as State<'a>>::Entries

Source§

impl<'a, CS: State<'a>> State<'a> for SetLayout<CS>

Source§

type Label = <CS as State<'a>>::Label

Source§

type Layout = LayoutValue<'a>

Source§

type Entries = <CS as State<'a>>::Entries

Source§

impl<'a> State<'a> for Empty