#[repr(C)]pub enum DrawVertexLayoutFormat {
Show 20 variants
Char = 0,
Short = 1,
Int = 2,
Uchar = 3,
Ushort = 4,
Uint = 5,
Float = 6,
Double = 7,
R8G8B8 = 8,
R16G16B16 = 9,
R32G32B32 = 10,
R8G8B8A8 = 11,
B8G8R8A8 = 12,
R16G15B16A16 = 13,
R32G32B32A32 = 14,
R32G32B32A32Float = 15,
R32G32B32A32Double = 16,
Rgb32 = 17,
Rgba32 = 18,
Count = 19,
}
Variants§
Char = 0
Short = 1
Int = 2
Uchar = 3
Ushort = 4
Uint = 5
Float = 6
Double = 7
R8G8B8 = 8
R16G16B16 = 9
R32G32B32 = 10
R8G8B8A8 = 11
B8G8R8A8 = 12
R16G15B16A16 = 13
R32G32B32A32 = 14
R32G32B32A32Float = 15
R32G32B32A32Double = 16
Rgb32 = 17
Rgba32 = 18
Count = 19
Trait Implementations§
Source§impl Clone for DrawVertexLayoutFormat
impl Clone for DrawVertexLayoutFormat
Source§fn clone(&self) -> DrawVertexLayoutFormat
fn clone(&self) -> DrawVertexLayoutFormat
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<'a> From<&'a u32> for &'a DrawVertexLayoutFormat
impl<'a> From<&'a u32> for &'a DrawVertexLayoutFormat
Source§fn from(a: &'a nk_draw_vertex_layout_format) -> &'a DrawVertexLayoutFormat
fn from(a: &'a nk_draw_vertex_layout_format) -> &'a DrawVertexLayoutFormat
Converts to this type from the input type.
Source§impl From<DrawVertexLayoutFormat> for nk_draw_vertex_layout_format
impl From<DrawVertexLayoutFormat> for nk_draw_vertex_layout_format
Source§fn from(a: DrawVertexLayoutFormat) -> nk_draw_vertex_layout_format
fn from(a: DrawVertexLayoutFormat) -> nk_draw_vertex_layout_format
Converts to this type from the input type.
Source§impl From<u32> for DrawVertexLayoutFormat
impl From<u32> for DrawVertexLayoutFormat
Source§fn from(a: nk_draw_vertex_layout_format) -> DrawVertexLayoutFormat
fn from(a: nk_draw_vertex_layout_format) -> DrawVertexLayoutFormat
Converts to this type from the input type.
Source§impl PartialEq for DrawVertexLayoutFormat
impl PartialEq for DrawVertexLayoutFormat
impl Copy for DrawVertexLayoutFormat
impl Eq for DrawVertexLayoutFormat
impl StructuralPartialEq for DrawVertexLayoutFormat
Auto Trait Implementations§
impl Freeze for DrawVertexLayoutFormat
impl RefUnwindSafe for DrawVertexLayoutFormat
impl Send for DrawVertexLayoutFormat
impl Sync for DrawVertexLayoutFormat
impl Unpin for DrawVertexLayoutFormat
impl UnwindSafe for DrawVertexLayoutFormat
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