pub struct ScreenInsets {
pub left: f32,
pub top: f32,
pub right: f32,
pub bottom: f32,
}Fields§
§left: f32§top: f32§right: f32§bottom: f32Trait Implementations§
Source§impl Clone for ScreenInsets
impl Clone for ScreenInsets
Source§fn clone(&self) -> ScreenInsets
fn clone(&self) -> ScreenInsets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScreenInsets
Source§impl Debug for ScreenInsets
impl Debug for ScreenInsets
Source§impl Default for ScreenInsets
impl Default for ScreenInsets
Source§fn default() -> ScreenInsets
fn default() -> ScreenInsets
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScreenInsets
impl PartialEq for ScreenInsets
impl StructuralPartialEq for ScreenInsets
Auto Trait Implementations§
impl Freeze for ScreenInsets
impl RefUnwindSafe for ScreenInsets
impl Send for ScreenInsets
impl Sync for ScreenInsets
impl Unpin for ScreenInsets
impl UnsafeUnpin for ScreenInsets
impl UnwindSafe for ScreenInsets
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