pub enum NinesFillMode {
Stretch,
Tile,
}Expand description
Fill mode of a Nine-Slice part (PartTypeNines.nines_fill_mode), mirroring
SsNines::m_eFillMode in the SpriteStudio SDK.
Variants§
Stretch
0 — the four edges and the centre are stretched to fill the part.
Tile
1 — the four edges and the centre repeat the source slice at its
native pixel size; the repeat that overflows the region is clipped.
Implementations§
Trait Implementations§
Source§impl Clone for NinesFillMode
impl Clone for NinesFillMode
impl Copy for NinesFillMode
Source§impl Debug for NinesFillMode
impl Debug for NinesFillMode
Source§impl Default for NinesFillMode
impl Default for NinesFillMode
impl Eq for NinesFillMode
Source§impl PartialEq for NinesFillMode
impl PartialEq for NinesFillMode
impl StructuralPartialEq for NinesFillMode
Auto Trait Implementations§
impl Freeze for NinesFillMode
impl RefUnwindSafe for NinesFillMode
impl Send for NinesFillMode
impl Sync for NinesFillMode
impl Unpin for NinesFillMode
impl UnsafeUnpin for NinesFillMode
impl UnwindSafe for NinesFillMode
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