pub struct NinePatch {
pub center_x: i32,
pub center_y: i32,
pub center_width: u32,
pub center_height: u32,
}Expand description
Nine-patch (9-slice) center region within a slice.
Fields§
§center_x: i32§center_y: i32§center_width: u32§center_height: u32Trait Implementations§
impl StructuralPartialEq for NinePatch
Auto Trait Implementations§
impl Freeze for NinePatch
impl RefUnwindSafe for NinePatch
impl Send for NinePatch
impl Sync for NinePatch
impl Unpin for NinePatch
impl UnsafeUnpin for NinePatch
impl UnwindSafe for NinePatch
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