pub enum NineSlice {
TopLeft,
TopCenter,
TopRight,
RightCenter,
BottomRight,
BottomCenter,
BottomLeft,
LeftCenter,
Center,
}
Expand description
The nine slices in a nine-patch image
Variants§
Trait Implementations§
impl Copy for NineSlice
impl Eq for NineSlice
impl StructuralPartialEq for NineSlice
Auto Trait Implementations§
impl Freeze for NineSlice
impl RefUnwindSafe for NineSlice
impl Send for NineSlice
impl Sync for NineSlice
impl Unpin for NineSlice
impl UnwindSafe for NineSlice
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