Face

Struct Face 

Source
pub struct Face {
Show 14 fields pub texture: usize, pub effect: i32, pub face_type: i32, pub vertex: i32, pub num_vertexes: i32, pub mesh_vert: usize, pub num_mesh_verts: usize, pub lm_index: i32, pub lm_start: [i32; 2], pub lm_size: [i32; 2], pub lm_origin: [f32; 3], pub lm_vecs: [[f32; 3]; 2], pub normal: [f32; 3], pub size: [i32; 2],
}

Fields§

§texture: usize§effect: i32§face_type: i32§vertex: i32§num_vertexes: i32§mesh_vert: usize§num_mesh_verts: usize§lm_index: i32§lm_start: [i32; 2]§lm_size: [i32; 2]§lm_origin: [f32; 3]§lm_vecs: [[f32; 3]; 2]§normal: [f32; 3]§size: [i32; 2]

Trait Implementations§

Source§

impl Debug for Face

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Face

§

impl RefUnwindSafe for Face

§

impl Send for Face

§

impl Sync for Face

§

impl Unpin for Face

§

impl UnwindSafe for Face

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.