Trait rotor_tools::uniform::Action [] [src]

pub trait Action: Sized {
    type Context;
    type Seed;
    fn create(seed: Self::Seed, scope: &mut Scope<Self::Context>) -> Response<Self, Void>;
    fn action(self, scope: &mut Scope<Self::Context>) -> Response<Self, Self::Seed>;
}

Associated Types

type Context

type Seed

Required Methods

fn create(seed: Self::Seed, scope: &mut Scope<Self::Context>) -> Response<Self, Void>

fn action(self, scope: &mut Scope<Self::Context>) -> Response<Self, Self::Seed>

Implementors