Struct nannou::state::window::Window[][src]

pub struct Window {
    pub id: Option<Id>,
}

State of the window in focus.

Fields

ID of the window currently in focus.

Methods

impl Window
[src]

Initialise the window state.

Expects that there will be a window::Id (the common case) and **panic!**s otherwise.

Trait Implementations

impl Copy for Window
[src]

impl Clone for Window
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Window
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Window
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Window

impl Sync for Window