Struct winit::WindowId [−][src]
pub struct WindowId(_);
Identifier of a window. Unique for each window.
Can be obtained with window.id().
Whenever you receive an event specific to a window, this event contains a WindowId which you
can then compare to the ids of your windows.
Trait Implementations
impl Debug for WindowId[src]
impl Debug for WindowIdfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for WindowId[src]
impl Copy for WindowIdimpl Clone for WindowId[src]
impl Clone for WindowIdfn clone(&self) -> WindowId[src]
fn clone(&self) -> WindowIdReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for WindowId[src]
impl PartialEq for WindowIdfn eq(&self, other: &WindowId) -> bool[src]
fn eq(&self, other: &WindowId) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &WindowId) -> bool[src]
fn ne(&self, other: &WindowId) -> boolThis method tests for !=.
impl Eq for WindowId[src]
impl Eq for WindowIdimpl PartialOrd for WindowId[src]
impl PartialOrd for WindowIdfn partial_cmp(&self, other: &WindowId) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &WindowId) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &WindowId) -> bool[src]
fn lt(&self, other: &WindowId) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &WindowId) -> bool[src]
fn le(&self, other: &WindowId) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &WindowId) -> bool[src]
fn gt(&self, other: &WindowId) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &WindowId) -> bool[src]
fn ge(&self, other: &WindowId) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for WindowId[src]
impl Ord for WindowIdfn cmp(&self, other: &WindowId) -> Ordering[src]
fn cmp(&self, other: &WindowId) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Hash for WindowId[src]
impl Hash for WindowId