pub struct Margin {
pub left: f32,
pub right: f32,
pub top: f32,
pub bottom: f32,
}
Fields§
§left: f32
§right: f32
§top: f32
§bottom: f32
Implementations§
Trait Implementations§
source§impl PartialEq for Margin
impl PartialEq for Margin
impl Copy for Margin
impl StructuralPartialEq for Margin
Auto Trait Implementations§
impl RefUnwindSafe for Margin
impl Send for Margin
impl Sync for Margin
impl Unpin for Margin
impl UnwindSafe for Margin
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