pub struct Bounds {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
Represents the bounds of a window. It can be converted from platform-specific bounds types.
Fields§
§x: f64§y: f64§width: f64§height: f64Trait Implementations§
Source§impl From<Bounds> for PlatformBounds
Available on Windows only.
impl From<Bounds> for PlatformBounds
Available on Windows only.
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnwindSafe for Bounds
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