pub struct Inset {
pub top: SpacingValue,
pub right: SpacingValue,
pub bottom: SpacingValue,
pub left: SpacingValue,
}Expand description
Inner edge spacing.
Fields§
§top: SpacingValue§right: SpacingValue§bottom: SpacingValue§left: SpacingValueImplementations§
Source§impl Inset
impl Inset
pub fn all(value: SpacingValue) -> Inset
pub fn symmetric(vertical: SpacingValue, horizontal: SpacingValue) -> Inset
Trait Implementations§
impl Copy for Inset
impl Eq for Inset
impl StructuralPartialEq for Inset
Auto Trait Implementations§
impl Freeze for Inset
impl RefUnwindSafe for Inset
impl Send for Inset
impl Sync for Inset
impl Unpin for Inset
impl UnsafeUnpin for Inset
impl UnwindSafe for Inset
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