TOBJ

Struct TOBJ 

Source
#[repr(C)]
pub struct TOBJ {
Show 27 fields pub parent: *mut c_int, pub x4: c_int, pub next: *mut TOBJ, pub id: u32_, pub src: u32_, pub mtxid: u32_, pub rotate: Vec4, pub scale: Vec3, pub translate: Vec3, pub wrap_s: u32_, pub wrap_t: u32_, pub repeat_s: u8_, pub repeat_t: u8_, pub anim_id: u16_, pub flags: u32_, pub blending: f32_, pub magFilt: u32_, pub imagedesc: *mut _HSD_ImageDesc, pub tlut: *mut _HSD_Tlut, pub lod: *mut _HSD_TexLODDesc, pub aobj: *mut AOBJ, pub imagetbl: *mut *mut _HSD_ImageDesc, pub tluttbl: *mut *mut _HSD_Tlut, pub tlut_no: u8_, pub mtx: Mtx, pub coord: u32_, pub tev: *mut _HSD_TObjTev,
}

Fields§

§parent: *mut c_int§x4: c_int§next: *mut TOBJ§id: u32_§src: u32_§mtxid: u32_§rotate: Vec4§scale: Vec3§translate: Vec3§wrap_s: u32_§wrap_t: u32_§repeat_s: u8_§repeat_t: u8_§anim_id: u16_§flags: u32_§blending: f32_§magFilt: u32_§imagedesc: *mut _HSD_ImageDesc§tlut: *mut _HSD_Tlut§lod: *mut _HSD_TexLODDesc§aobj: *mut AOBJ§imagetbl: *mut *mut _HSD_ImageDesc§tluttbl: *mut *mut _HSD_Tlut§tlut_no: u8_§mtx: Mtx§coord: u32_§tev: *mut _HSD_TObjTev

Trait Implementations§

Source§

impl Clone for TOBJ

Source§

fn clone(&self) -> TOBJ

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TOBJ

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for TOBJ

Auto Trait Implementations§

§

impl Freeze for TOBJ

§

impl RefUnwindSafe for TOBJ

§

impl !Send for TOBJ

§

impl !Sync for TOBJ

§

impl Unpin for TOBJ

§

impl UnwindSafe for TOBJ

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.