pub struct Sides {
pub top: f32,
pub right: f32,
pub bottom: f32,
pub left: f32,
}Expand description
Per-side box-model lengths (padding / margin / border widths).
Fields§
§top: f32§right: f32§bottom: f32§left: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sides
impl RefUnwindSafe for Sides
impl Send for Sides
impl Sync for Sides
impl Unpin for Sides
impl UnsafeUnpin for Sides
impl UnwindSafe for Sides
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