[][src]Struct meshopt::packing::PackedVertex

#[repr(C)]
pub struct PackedVertex {
    pub p: [u16; 4],
    pub n: [i8; 4],
    pub t: [u16; 2],
}

Fields

p: [u16; 4]

Unsigned 16-bit value, use pos_offset/pos_scale to unpack

n: [i8; 4]

Normalized signed 8-bit value

t: [u16; 2]

Unsigned 16-bit value, use uv_offset/uv_scale to unpack

Trait Implementations

impl FromVertex for PackedVertex[src]

impl Clone for PackedVertex[src]

impl Copy for PackedVertex[src]

impl Default for PackedVertex[src]

impl Eq for PackedVertex[src]

impl PartialEq<PackedVertex> for PackedVertex[src]

impl Debug for PackedVertex[src]

impl StructuralPartialEq for PackedVertex[src]

impl StructuralEq for PackedVertex[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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]