pub struct Margins {
pub top: i32,
pub right: i32,
pub bottom: i32,
pub left: i32,
}Expand description
Space between a window and the output edges it is anchored to, in logical pixels. Edges the window isn’t anchored to ignore theirs.
Fields§
§top: i32From the top edge.
right: i32From the right edge.
bottom: i32From the bottom edge.
left: i32From the left edge.
Implementations§
Trait Implementations§
impl Copy for Margins
impl Eq for Margins
impl StructuralPartialEq for Margins
Auto Trait Implementations§
impl Forget for Margins
impl Freeze for Margins
impl Move for Margins
impl RefUnwindSafe for Margins
impl Send for Margins
impl Sync for Margins
impl Unpin for Margins
impl UnsafeUnpin for Margins
impl UnwindSafe for Margins
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