pub struct SafeArea {
pub top: f32,
pub right: f32,
pub bottom: f32,
pub left: f32,
}Expand description
Inset amounts on each edge, in logical pixels.
Fields§
§top: f32§right: f32§bottom: f32§left: f32Trait Implementations§
impl Copy for SafeArea
impl StructuralPartialEq for SafeArea
Auto Trait Implementations§
impl Freeze for SafeArea
impl RefUnwindSafe for SafeArea
impl Send for SafeArea
impl Sync for SafeArea
impl Unpin for SafeArea
impl UnsafeUnpin for SafeArea
impl UnwindSafe for SafeArea
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