Struct ggez::graphics::Vertex [−]
Internal structure containing vertex data.
Fields
pos: [f32; 2]
uv: [f32; 2]
Trait Implementations
impl Clone for Vertex
impl Clone for Vertex
fn clone(&self) -> Vertex
fn clone(&self) -> Vertex
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 Vertex
impl Copy for Vertex
impl Debug for Vertex
impl Debug for Vertex
impl PartialEq for Vertex
impl PartialEq for Vertex
fn eq(&self, other: &Vertex) -> bool
fn eq(&self, other: &Vertex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Vertex) -> bool
fn ne(&self, other: &Vertex) -> bool
This method tests for !=
.
impl Pod for Vertex
impl Pod for Vertex
impl Structure<Format> for Vertex
impl Structure<Format> for Vertex