#[repr(C)]pub enum NPatchLayout {
NinePatch = 0,
ThreePatchVertical = 1,
ThreePatchHorizontal = 2,
}
Expand description
N-patch layout
Variants§
NinePatch = 0
Npatch layout: 3x3 tiles
ThreePatchVertical = 1
Npatch layout: 1x3 tiles
ThreePatchHorizontal = 2
Npatch layout: 3x1 tiles
Trait Implementations§
Source§impl Clone for NPatchLayout
impl Clone for NPatchLayout
Source§fn clone(&self) -> NPatchLayout
fn clone(&self) -> NPatchLayout
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NPatchLayout
impl Debug for NPatchLayout
Source§impl Hash for NPatchLayout
impl Hash for NPatchLayout
Source§impl PartialEq for NPatchLayout
impl PartialEq for NPatchLayout
impl Copy for NPatchLayout
impl Eq for NPatchLayout
impl StructuralPartialEq for NPatchLayout
Auto Trait Implementations§
impl Freeze for NPatchLayout
impl RefUnwindSafe for NPatchLayout
impl Send for NPatchLayout
impl Sync for NPatchLayout
impl Unpin for NPatchLayout
impl UnwindSafe for NPatchLayout
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