Skip to main content

State

Trait State 

Source
pub trait State<T> {
    type Texture: Field;
    type Selector: Field;
    type State: 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<T, CS: State<T>> State<T> for SetSelector<CS>

Source§

impl<T, CS: State<T>> State<T> for SetState<CS>

Source§

impl<T, CS: State<T>> State<T> for SetTexture<CS>

Source§

type Texture = TextureValue<T>

Source§

type Selector = <CS as State<T>>::Selector

Source§

type State = <CS as State<T>>::State

Source§

impl<T> State<T> for Empty