pub struct Insets {
pub top: f64,
pub leading: f64,
pub bottom: f64,
pub trailing: f64,
}Expand description
Logical insets: leading/trailing resolve against the layout direction at place time (§7.8).
Fields§
§top: f64§leading: f64§bottom: f64§trailing: f64Implementations§
Trait Implementations§
impl Copy for Insets
impl StructuralPartialEq for Insets
Auto Trait Implementations§
impl Freeze for Insets
impl RefUnwindSafe for Insets
impl Send for Insets
impl Sync for Insets
impl Unpin for Insets
impl UnsafeUnpin for Insets
impl UnwindSafe for Insets
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