pub struct WindowMetrics {
pub screen: Screen,
pub bounds: Rect,
pub insets: ScreenInsets,
}Fields§
§screen: Screen§bounds: Rect§insets: ScreenInsetsImplementations§
Source§impl WindowMetrics
impl WindowMetrics
pub fn new(screen: Screen, bounds: Rect, insets: ScreenInsets) -> Self
Trait Implementations§
Source§impl Clone for WindowMetrics
impl Clone for WindowMetrics
Auto Trait Implementations§
impl Forget for WindowMetrics
impl Freeze for WindowMetrics
impl Move for WindowMetrics
impl RefUnwindSafe for WindowMetrics
impl Send for WindowMetricswhere
RawVecInner: Send,
impl Sync for WindowMetricswhere
RawVecInner: Sync,
impl Unpin for WindowMetrics
impl UnsafeUnpin for WindowMetrics
impl UnwindSafe for WindowMetricswhere
RawVecInner: UnwindSafe,
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