Struct nannou::state::window::Window [−][src]
State of the window in focus.
Fields
id: Option<Id>
ID of the window currently in focus.
Methods
impl Window
[src]
impl Window
pub fn new() -> Self
[src]
pub fn new() -> Self
Initialise the window state.
pub fn id(&self) -> Id
[src]
pub fn id(&self) -> Id
Expects that there will be a window::Id
(the common case) and **panic!**s otherwise.
Trait Implementations
impl Copy for Window
[src]
impl Copy for Window
impl Clone for Window
[src]
impl Clone for Window
fn clone(&self) -> Window
[src]
fn clone(&self) -> Window
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Window
[src]
impl Debug for Window
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Window
[src]
impl PartialEq for Window