pub struct Edges {
pub top: f32,
pub right: f32,
pub bottom: f32,
pub left: f32,
}Expand description
Edge values (top, right, bottom, left) — used for margin, padding, border.
Fields§
§top: f32§right: f32§bottom: f32§left: f32Implementations§
Trait Implementations§
impl Copy for Edges
impl StructuralPartialEq for Edges
Auto Trait Implementations§
impl Freeze for Edges
impl RefUnwindSafe for Edges
impl Send for Edges
impl Sync for Edges
impl Unpin for Edges
impl UnwindSafe for Edges
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