pub struct SafeArea {
pub left: f64,
pub top: f64,
pub right: f64,
pub bottom: f64,
}Expand description
The rectangle to_edge keeps inside, in scene coordinates (origin at
the center, y down).
Fields§
§left: f64Left edge.
top: f64Top edge.
right: f64Right edge.
bottom: f64Bottom edge.
Implementations§
Trait 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