pub trait UsesState: UsesInput<Input = <Self::State as UsesInput>::Input> {
type State: UsesInput;
}
Expand description
Structs which implement this trait are aware of the state. This is used for type enforcement.
pub trait UsesState: UsesInput<Input = <Self::State as UsesInput>::Input> {
type State: UsesInput;
}
Structs which implement this trait are aware of the state. This is used for type enforcement.