Enum input::Loop [] [src]

pub enum Loop {
    Render(RenderArgs),
    AfterRender(AfterRenderArgs),
    Update(UpdateArgs),
    Idle(IdleArgs),
}

Models loop events.

Variants

Render graphics.

After rendering and swapping buffers.

Update the state of the application.

Do background tasks that can be done incrementally.

Trait Implementations

impl Copy for Loop
[src]

impl Clone for Loop
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Loop
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Loop
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<RenderArgs> for Loop
[src]

[src]

Performs the conversion.

impl From<AfterRenderArgs> for Loop
[src]

[src]

Performs the conversion.

impl From<UpdateArgs> for Loop
[src]

[src]

Performs the conversion.

impl From<IdleArgs> for Loop
[src]

[src]

Performs the conversion.

impl From<Loop> for Event
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Loop

impl Sync for Loop