Struct obj::Vertex [−][src]
Expand description
Vertex data type of Obj
which contains position and normal data of a vertex.
Fields
position: [f32; 3]
Position vector of a vertex.
normal: [f32; 3]
Normal vertor of a vertex.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Vertex
impl UnwindSafe for Vertex
Blanket Implementations
Mutably borrows from an owned value. Read more