pub struct Insets {
pub left: u32,
pub top: u32,
pub right: u32,
pub bottom: u32,
}Expand description
The borders of a nine-slice panel, in pixels from each edge: the corners keep their size while the edges and the middle stretch.
Fields§
§left: u32§top: u32§right: u32§bottom: u32Implementations§
Trait Implementations§
impl Copy for Insets
impl Eq 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