Struct obj::Position
[−]
[src]
pub struct Position {
pub position: [f32; 3],
}Vertex data type of Obj which contains only position data of a vertex.
Fields
position: [f32; 3]
Position vector of a vertex.
Trait Implementations
impl Decodable for Position[src]
impl Encodable for Position[src]
impl Debug for Position[src]
impl Clone for Position[src]
fn clone(&self) -> Position
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for Position[src]
fn eq(&self, __arg_0: &Position) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Position) -> bool
This method tests for !=.