Skip to main content

State

Trait State 

Source
pub trait State {
    type X: Field;
    type Y: 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 State for Empty

Source§

impl<CS: State> State for SetX<CS>

Source§

type X = XValue

Source§

type Y = <CS as State>::Y

Source§

impl<CS: State> State for SetY<CS>

Source§

type X = <CS as State>::X

Source§

type Y = YValue