Identifier of a window. Unique for each window.
Can be obtained with
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.
Returns a dummy
WindowId, useful for unit testing. The only guarantee made about the return
value of this function is that it will always be equal to itself and to future values returned
by this function. No other guarantees are made. This may be equal to a real
Passing this into a winit function will result in undefined behavior.
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl PartialOrd<WindowId> for WindowId[src]
fn partial_cmp(&self, other: &WindowId) -> Option<Ordering>[src]
impl StructuralEq for WindowId[src]
impl StructuralPartialEq for WindowId[src]
Auto Trait Implementations
impl RefUnwindSafe for WindowId
impl UnwindSafe for WindowId
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.