pub struct WindowLogicalPosition {
pub x: i32,
pub y: i32,
}Expand description
Window position in screen space, expressed in logical pixels (see ADR 0017).
This is intended for best-effort window placement persistence and multi-window orchestration.
Fields§
§x: i32§y: i32Trait Implementations§
Source§impl Clone for WindowLogicalPosition
impl Clone for WindowLogicalPosition
Source§fn clone(&self) -> WindowLogicalPosition
fn clone(&self) -> WindowLogicalPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowLogicalPosition
impl Debug for WindowLogicalPosition
Source§impl PartialEq for WindowLogicalPosition
impl PartialEq for WindowLogicalPosition
impl Copy for WindowLogicalPosition
impl Eq for WindowLogicalPosition
impl StructuralPartialEq for WindowLogicalPosition
Auto Trait Implementations§
impl Freeze for WindowLogicalPosition
impl RefUnwindSafe for WindowLogicalPosition
impl Send for WindowLogicalPosition
impl Sync for WindowLogicalPosition
impl Unpin for WindowLogicalPosition
impl UnsafeUnpin for WindowLogicalPosition
impl UnwindSafe for WindowLogicalPosition
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