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

#[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 Clone for PackedVertex[src]

impl Debug for PackedVertex[src]

impl Default for PackedVertex[src]

impl FromVertex for PackedVertex[src]

impl PartialEq<PackedVertex> for PackedVertex[src]

impl Copy for PackedVertex[src]

impl Eq for PackedVertex[src]

impl StructuralEq for PackedVertex[src]

impl StructuralPartialEq for PackedVertex[src]

Auto Trait Implementations

impl RefUnwindSafe for PackedVertex

impl Send for PackedVertex

impl Sync for PackedVertex

impl Unpin for PackedVertex

impl UnwindSafe for PackedVertex

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[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.