[][src]Struct meshopt::encoding::EncodeHeader

#[repr(C)]
pub struct EncodeHeader {
    pub magic: [u8; 4],
    pub group_count: u32,
    pub vertex_count: u32,
    pub index_count: u32,
    pub vertex_data_size: u32,
    pub index_data_size: u32,
    pub pos_offset: [f32; 3],
    pub pos_scale: f32,
    pub uv_offset: [f32; 2],
    pub uv_scale: [f32; 2],
    pub reserved: [u32; 2],
}

Fields

magic: [u8; 4]group_count: u32vertex_count: u32index_count: u32vertex_data_size: u32index_data_size: u32pos_offset: [f32; 3]pos_scale: f32uv_offset: [f32; 2]uv_scale: [f32; 2]reserved: [u32; 2]

Trait Implementations

impl Clone for EncodeHeader[src]

impl Copy for EncodeHeader[src]

impl Debug for EncodeHeader[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]