Enum rust_raylib::ffi::NPatchLayout
source · #[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
source§fn eq(&self, other: &NPatchLayout) -> bool
fn eq(&self, other: &NPatchLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NPatchLayout
impl Eq for NPatchLayout
impl StructuralEq for NPatchLayout
impl StructuralPartialEq for NPatchLayout
Auto Trait Implementations§
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