pub struct WindowId(/* private fields */);Expand description
Identifies a host render/input target.
A WindowId may refer to a native platform window or to an embedded
viewport/region owned by a host application. Platform events, runtime
scheduling, and SceneFrame submission use this ID as the common target
identity.
Implementations§
Trait Implementations§
impl Copy for WindowId
impl Eq for WindowId
Source§impl Ord for WindowId
impl Ord for WindowId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for WindowId
impl PartialOrd for WindowId
impl StructuralPartialEq for WindowId
Auto Trait Implementations§
impl Forget for WindowId
impl Freeze for WindowId
impl Move for WindowId
impl RefUnwindSafe for WindowId
impl Send for WindowId
impl Sync for WindowId
impl Unpin for WindowId
impl UnsafeUnpin for WindowId
impl UnwindSafe for WindowId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more