pub struct NineSliceImage(pub ImageInner, pub [u16; 4]);
Expand description
Represent a nine-slice image with the base image and the 4 borders
Tuple Fields§
§0: ImageInner
§1: [u16; 4]
Implementations§
Trait Implementations§
Source§impl HasStaticVTable<OpaqueImageVTable> for NineSliceImage
impl HasStaticVTable<OpaqueImageVTable> for NineSliceImage
Source§fn static_vtable() -> &'static OpaqueImageVTable
fn static_vtable() -> &'static OpaqueImageVTable
Safety: must be a valid VTable for Self
Source§impl OpaqueImage for NineSliceImage
impl OpaqueImage for NineSliceImage
Auto Trait Implementations§
impl Freeze for NineSliceImage
impl !RefUnwindSafe for NineSliceImage
impl !Send for NineSliceImage
impl !Sync for NineSliceImage
impl Unpin for NineSliceImage
impl !UnwindSafe for NineSliceImage
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