pub struct WindowRect {
pub left: i32,
pub top: i32,
pub right: i32,
pub bottom: i32,
}Expand description
Rectangle coordinates for a window.
Fields§
§left: i32Left coordinate in screen space.
top: i32Top coordinate in screen space.
right: i32Right coordinate in screen space.
bottom: i32Bottom coordinate in screen space.
Implementations§
Trait Implementations§
Source§impl Clone for WindowRect
impl Clone for WindowRect
Source§fn clone(&self) -> WindowRect
fn clone(&self) -> WindowRect
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 WindowRect
impl Debug for WindowRect
Source§impl From<RECT> for WindowRect
impl From<RECT> for WindowRect
Source§impl PartialEq for WindowRect
impl PartialEq for WindowRect
impl Copy for WindowRect
impl Eq for WindowRect
impl StructuralPartialEq for WindowRect
Auto Trait Implementations§
impl Freeze for WindowRect
impl RefUnwindSafe for WindowRect
impl Send for WindowRect
impl Sync for WindowRect
impl Unpin for WindowRect
impl UnsafeUnpin for WindowRect
impl UnwindSafe for WindowRect
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