Struct gl_utils::vertex::Vert2dColor [−][src]
Fields
position: [f32; 2]
color: [f32; 4]
Trait Implementations
impl Clone for Vert2dColor[src]
impl Clone for Vert2dColorfn clone(&self) -> Vert2dColor[src]
fn clone(&self) -> Vert2dColorReturns 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 Vert2dColorimpl Debug for Vert2dColor[src]
impl Debug for Vert2dColorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Vert2dColor[src]
impl Default for Vert2dColorfn default() -> Vert2dColor[src]
fn default() -> Vert2dColorReturns the "default value" for a type. Read more
impl Vertex for Vert2dColor
impl Vertex for Vert2dColorfn build_bindings() -> VertexFormat
fn build_bindings() -> VertexFormatBuilds 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 Vert2dColorimpl Sync for Vert2dColor
impl Sync for Vert2dColor