Skip to main content

State

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

Source§

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

Source§

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

Source§

type Count = CountValue

Source§

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

Source§

type Label = LabelValue<'a>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Ty = TyValue

Source§

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

Source§

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