Struct gl_utils::vertex::Vert2dColor [−][src]
Fields
position: [f32; 2]
color: [f32; 4]
Trait Implementations
impl Clone for Vert2dColor
[src]
impl Clone for Vert2dColor
fn clone(&self) -> Vert2dColor
[src]
fn clone(&self) -> Vert2dColor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Vert2dColor
[src]
impl Copy for Vert2dColor
impl Debug for Vert2dColor
[src]
impl Debug for Vert2dColor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Vert2dColor
[src]
impl Default for Vert2dColor
fn default() -> Vert2dColor
[src]
fn default() -> Vert2dColor
Returns the "default value" for a type. Read more
impl Vertex for Vert2dColor
impl Vertex for Vert2dColor
fn build_bindings() -> VertexFormat
fn build_bindings() -> VertexFormat
Builds the VertexFormat
representing the layout of this element.
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
fn is_supported<C>(caps: &C) -> bool where
C: CapabilitiesSource + ?Sized,
Returns true if the backend supports this vertex format.
Auto Trait Implementations
impl Send for Vert2dColor
impl Send for Vert2dColor
impl Sync for Vert2dColor
impl Sync for Vert2dColor