[][src]Struct game_of_life::GameOfLife

struct GameOfLife {
    grid: Grid,
    controls: Controls,
    is_playing: bool,
    queued_ticks: usize,
    speed: usize,
    next_speed: Option<usize>,
}

Fields

grid: Gridcontrols: Controlsis_playing: boolqueued_ticks: usizespeed: usizenext_speed: Option<usize>

Trait Implementations

impl Application for GameOfLife[src]

type Message = Message

The type of messages your [Application] will produce. Read more

type Executor = Default

The [Executor] that will run commands and subscriptions. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

impl Default for GameOfLife[src]

Auto Trait Implementations

impl !RefUnwindSafe for GameOfLife

impl Send for GameOfLife

impl !Sync for GameOfLife

impl Unpin for GameOfLife

impl UnwindSafe for GameOfLife

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Application for T where
    T: Sandbox
[src]

type Executor = Null

The [Executor] that will run commands and subscriptions. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

type Message = <T as Sandbox>::Message

The type of messages your [Application] will produce. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,