pub struct WindowSafeArea {
pub top: f32,
pub leading: f32,
pub trailing: f32,
}Expand description
Insets in dp needed to avoid the window controls.
Fields§
§top: f32§leading: f32§trailing: f32Trait Implementations§
Source§impl Clone for WindowSafeArea
impl Clone for WindowSafeArea
impl Copy for WindowSafeArea
Source§impl Debug for WindowSafeArea
impl Debug for WindowSafeArea
Source§impl Default for WindowSafeArea
impl Default for WindowSafeArea
Source§impl PartialEq for WindowSafeArea
impl PartialEq for WindowSafeArea
impl StructuralPartialEq for WindowSafeArea
Auto Trait Implementations§
impl Freeze for WindowSafeArea
impl RefUnwindSafe for WindowSafeArea
impl Send for WindowSafeArea
impl Sync for WindowSafeArea
impl Unpin for WindowSafeArea
impl UnsafeUnpin for WindowSafeArea
impl UnwindSafe for WindowSafeArea
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