CollData

Struct CollData 

Source
#[repr(C)]
pub struct CollData {
Show 84 fields pub gobj: *mut GOBJ, pub topN_Curr: Vec3, pub topN_CurrCorrect: Vec3, pub topN_Prev: Vec3, pub topN_Proj: Vec3, pub flags1: c_int, pub coll_test: c_int, pub ignore_line: c_int, pub ledge_left: c_int, pub ledge_right: c_int, pub ignore_group: c_int, pub check_group: c_int, pub x50: c_int, pub x54: c_int, pub x58: c_int, pub x5c: c_int, pub x60: c_int, pub x64: c_int, pub x68: c_int, pub x6c: c_int, pub x70: c_int, pub x74: c_int, pub x78: c_int, pub x7c: c_int, pub x80: c_int, pub ecbCurr_top: Vec2, pub ecbCurr_bot: Vec2, pub ecbCurr_right: Vec2, pub ecbCurr_left: Vec2, pub ecbCurrCorrect_top: Vec2, pub ecbCurrCorrect_bot: Vec2, pub ecbCurrCorrect_right: Vec2, pub ecbCurrCorrect_left: Vec2, pub ecbPrev_top: Vec2, pub ecbPrev_bot: Vec2, pub ecbPrev_right: Vec2, pub ecbPrev_left: Vec2, pub ecbProj_top: Vec2, pub ecbProj_bot: Vec2, pub ecbProj_right: Vec2, pub ecbProj_left: Vec2, pub x104: c_int, pub joint_1: *mut JOBJ, pub joint_2: *mut JOBJ, pub joint_3: *mut JOBJ, pub joint_4: *mut JOBJ, pub joint_5: *mut JOBJ, pub joint_6: *mut JOBJ, pub joint_7: *mut JOBJ, pub x124: c_int, pub x128: c_int, pub x12c: c_int, pub flags: c_int, pub envFlags: c_int, pub envFlags_prev: c_int, pub x13c: c_int, pub x140: c_int, pub x144: c_int, pub x148: c_int, pub ground_index: c_int, pub ground_info: u8_, pub ground_unk: u8_, pub ground_type: u8_, pub ground_mat: u8_, pub ground_slope: Vec3, pub rightwall_index: c_int, pub rightwall_info: u8_, pub rightwall_unk: u8_, pub rightwall_type: u8_, pub rightwall_mat: u8_, pub rightwall_slope: Vec3, pub leftwall_index: c_int, pub leftwall_info: u8_, pub leftwall_unk: u8_, pub leftwall_type: u8_, pub leftwall_mat: u8_, pub leftwall_slope: Vec3, pub ceil_index: c_int, pub ceil_info: u8_, pub ceil_unk: u8_, pub ceil_type: u8_, pub ceil_mat: u8_, pub ceil_slope: Vec3, pub ecb_lock: c_int,
}

Fields§

§gobj: *mut GOBJ§topN_Curr: Vec3§topN_CurrCorrect: Vec3§topN_Prev: Vec3§topN_Proj: Vec3§flags1: c_int§coll_test: c_int§ignore_line: c_int§ledge_left: c_int§ledge_right: c_int§ignore_group: c_int§check_group: c_int§x50: c_int§x54: c_int§x58: c_int§x5c: c_int§x60: c_int§x64: c_int§x68: c_int§x6c: c_int§x70: c_int§x74: c_int§x78: c_int§x7c: c_int§x80: c_int§ecbCurr_top: Vec2§ecbCurr_bot: Vec2§ecbCurr_right: Vec2§ecbCurr_left: Vec2§ecbCurrCorrect_top: Vec2§ecbCurrCorrect_bot: Vec2§ecbCurrCorrect_right: Vec2§ecbCurrCorrect_left: Vec2§ecbPrev_top: Vec2§ecbPrev_bot: Vec2§ecbPrev_right: Vec2§ecbPrev_left: Vec2§ecbProj_top: Vec2§ecbProj_bot: Vec2§ecbProj_right: Vec2§ecbProj_left: Vec2§x104: c_int§joint_1: *mut JOBJ§joint_2: *mut JOBJ§joint_3: *mut JOBJ§joint_4: *mut JOBJ§joint_5: *mut JOBJ§joint_6: *mut JOBJ§joint_7: *mut JOBJ§x124: c_int§x128: c_int§x12c: c_int§flags: c_int§envFlags: c_int§envFlags_prev: c_int§x13c: c_int§x140: c_int§x144: c_int§x148: c_int§ground_index: c_int§ground_info: u8_§ground_unk: u8_§ground_type: u8_§ground_mat: u8_§ground_slope: Vec3§rightwall_index: c_int§rightwall_info: u8_§rightwall_unk: u8_§rightwall_type: u8_§rightwall_mat: u8_§rightwall_slope: Vec3§leftwall_index: c_int§leftwall_info: u8_§leftwall_unk: u8_§leftwall_type: u8_§leftwall_mat: u8_§leftwall_slope: Vec3§ceil_index: c_int§ceil_info: u8_§ceil_unk: u8_§ceil_type: u8_§ceil_mat: u8_§ceil_slope: Vec3§ecb_lock: c_int

Trait Implementations§

Source§

impl Clone for CollData

Source§

fn clone(&self) -> CollData

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 CollData

Source§

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

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

impl Copy for CollData

Auto Trait Implementations§

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.