pub struct Spacing {
pub margin_top: Length,
pub margin_bottom: Length,
pub margin_left: Length,
pub margin_right: Length,
pub border_top: Length,
pub border_bottom: Length,
pub border_left: Length,
pub border_right: Length,
pub padding_top: Length,
pub padding_bottom: Length,
pub padding_left: Length,
pub padding_right: Length,
}Fields§
§margin_top: Length§margin_bottom: Length§margin_left: Length§margin_right: Length§border_top: Length§border_bottom: Length§border_left: Length§border_right: Length§padding_top: Length§padding_bottom: Length§padding_left: Length§padding_right: LengthTrait Implementations§
impl StructuralPartialEq for Spacing
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnwindSafe for Spacing
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