[][src]Struct rendy_mesh::PosNormTangTex

#[repr(C)]pub struct PosNormTangTex {
    pub position: Position,
    pub normal: Normal,
    pub tangent: Tangent,
    pub tex_coord: TexCoord,
}
[]

Vertex format with position, normal, tangent, and UV texture coordinate attributes.

Fields

position: Position
[]

Position of the vertex in 3D space.

normal: Normal
[]

Normal vector of the vertex.

tangent: Tangent
[]

Tangent vector of the vertex.

tex_coord: TexCoord
[]

UV texture coordinates used by the vertex.

Trait Implementations

impl AsVertex for PosNormTangTex[src][+]

impl Clone for PosNormTangTex[src][+]

impl Copy for PosNormTangTex[src]

impl Debug for PosNormTangTex[src][+]

impl PartialEq<PosNormTangTex> for PosNormTangTex[src][+]

impl PartialOrd<PosNormTangTex> for PosNormTangTex[src][+]

impl StructuralPartialEq for PosNormTangTex[src]

Auto Trait Implementations

impl RefUnwindSafe for PosNormTangTex

impl Send for PosNormTangTex

impl Sync for PosNormTangTex

impl Unpin for PosNormTangTex

impl UnwindSafe for PosNormTangTex

Blanket Implementations

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

impl<T> AsVertex for T where
    T: AsAttribute
[src][+]

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.