pub struct Indents {
pub left: Option<f32>,
pub top: Option<f32>,
pub right: Option<f32>,
pub bottom: Option<f32>,
}Expand description
Optional indents from each edge of a container’s content box.
Fields§
§left: Option<f32>Indent from the left edge, or None to use the default.
top: Option<f32>Indent from the top edge, or None to use the default.
right: Option<f32>Indent from the right edge, or None to use the default.
bottom: Option<f32>Indent from the bottom edge, or None to use the default.
Implementations§
Trait Implementations§
impl Copy for Indents
impl StructuralPartialEq for Indents
Auto Trait Implementations§
impl Freeze for Indents
impl RefUnwindSafe for Indents
impl Send for Indents
impl Sync for Indents
impl Unpin for Indents
impl UnsafeUnpin for Indents
impl UnwindSafe for Indents
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