pub struct WindowPosition {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Expand description
Window position and size information.
Fields§
§x: i32X coordinate of the window.
y: i32Y coordinate of the window.
width: i32Width of the window.
height: i32Height of the window.
Trait Implementations§
Source§impl Clone for WindowPosition
impl Clone for WindowPosition
Source§fn clone(&self) -> WindowPosition
fn clone(&self) -> WindowPosition
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 WindowPosition
impl Debug for WindowPosition
Source§impl Default for WindowPosition
impl Default for WindowPosition
Source§fn default() -> WindowPosition
fn default() -> WindowPosition
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowPosition
impl RefUnwindSafe for WindowPosition
impl Send for WindowPosition
impl Sync for WindowPosition
impl Unpin for WindowPosition
impl UnwindSafe for WindowPosition
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