Structure to store the window position.
The width and height are in points. On most computers, a point is 1:1 with a pixel. However, this is not universally true. For example, the Apple Retina Display defines 1 point to be a 2x2 square of pixels.
Normally, the consideration of points vs pixels should be left to the host operating system.
The x coordinate.
The y coordinate.
impl StructuralEq for Position[src]
impl StructuralPartialEq for Position[src]
Auto Trait Implementations
impl RefUnwindSafe for Position
impl UnwindSafe for Position
type Init = T
The type for initializers.
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.