Skip to main content

State

pub trait State<'a> {
    type Label: Field;
    type Source: 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 SetLabel<CS>

Source§

type Label = LabelValue<'a>

Source§

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

Source§

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

Source§

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

Source§

type Source = SourceValue<'a>

Source§

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