#[repr(C)]pub enum DrawVertexLayoutAttribute {
Position = 0,
Color = 1,
TexCoord = 2,
AttributeCount = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for DrawVertexLayoutAttribute
impl Clone for DrawVertexLayoutAttribute
Source§fn clone(&self) -> DrawVertexLayoutAttribute
fn clone(&self) -> DrawVertexLayoutAttribute
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 DrawVertexLayoutAttribute
impl<'a> From<&'a u32> for &'a DrawVertexLayoutAttribute
Source§fn from(a: &'a nk_draw_vertex_layout_attribute) -> &'a DrawVertexLayoutAttribute
fn from(a: &'a nk_draw_vertex_layout_attribute) -> &'a DrawVertexLayoutAttribute
Converts to this type from the input type.
Source§impl From<DrawVertexLayoutAttribute> for nk_draw_vertex_layout_attribute
impl From<DrawVertexLayoutAttribute> for nk_draw_vertex_layout_attribute
Source§fn from(a: DrawVertexLayoutAttribute) -> nk_draw_vertex_layout_attribute
fn from(a: DrawVertexLayoutAttribute) -> nk_draw_vertex_layout_attribute
Converts to this type from the input type.
Source§impl From<u32> for DrawVertexLayoutAttribute
impl From<u32> for DrawVertexLayoutAttribute
Source§fn from(a: nk_draw_vertex_layout_attribute) -> DrawVertexLayoutAttribute
fn from(a: nk_draw_vertex_layout_attribute) -> DrawVertexLayoutAttribute
Converts to this type from the input type.
impl Copy for DrawVertexLayoutAttribute
impl Eq for DrawVertexLayoutAttribute
impl StructuralPartialEq for DrawVertexLayoutAttribute
Auto Trait Implementations§
impl Freeze for DrawVertexLayoutAttribute
impl RefUnwindSafe for DrawVertexLayoutAttribute
impl Send for DrawVertexLayoutAttribute
impl Sync for DrawVertexLayoutAttribute
impl Unpin for DrawVertexLayoutAttribute
impl UnwindSafe for DrawVertexLayoutAttribute
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