[][src]Struct genmesh::Vertex

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

Common vertex type.

Fields

pos: Position

Vertex position

normal: Normal

Vertex normal

Trait Implementations

impl SharedVertex<Vertex> for Circle[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for Cone[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for Cube[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for Cylinder[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for IcoSphere[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for Plane[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for SphereUv[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl SharedVertex<Vertex> for Torus[src]

Important traits for SharedVertexIterator<'a, T, V>
fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>[src]

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

impl Copy for Vertex[src]

impl Clone for Vertex[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Vertex> for Vertex[src]

impl Debug for Vertex[src]

Auto Trait Implementations

impl Unpin for Vertex

impl Sync for Vertex

impl Send for Vertex

impl UnwindSafe for Vertex

impl RefUnwindSafe for Vertex

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]