Struct genmesh::Vertex[][src]

pub struct Vertex {
    pub pos: Position,
    pub normal: Normal,
}

Common vertex type.

Fields

Vertex position

Vertex normal

Trait Implementations

impl SharedVertex<Vertex> for Circle
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for Cone
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for Cube
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for Cylinder
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for IcoSphere
[src]

return the number of shared vertices required to represent the mesh

return the shared vertex at offset i

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for Plane
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for SphereUv
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl SharedVertex<Vertex> for Torus
[src]

return the shared vertex at offset i

return the number of shared vertices required to represent the mesh

Important traits for SharedVertexIterator<'a, T, V>

create an iterator that returns each shared vertex that is required to build the mesh. Read more

impl Clone for Vertex
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vertex
[src]

impl Debug for Vertex
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Vertex
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Vertex

impl Sync for Vertex