ftHit

Struct ftHit 

Source
#[repr(C)]
pub struct ftHit {
Show 25 fields pub active: c_int, pub x4: c_int, pub dmg: c_int, pub dmg_f: f32, pub offset: Vec3, pub size: f32, pub angle: c_int, pub kb_growth: c_int, pub wdsk: c_int, pub kb: c_int, pub attribute: c_int, pub shield_dmg: c_int, pub hitsound_severity: c_int, pub hitsound_kind: c_int, pub x40: c_char, pub x41: c_char, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>, pub x44: c_int, pub bone: *mut JOBJ, pub pos: Vec3, pub pos_prev: Vec3, pub pos_coll: Vec3, pub coll_distance: f32, pub victims: [HitVictim; 24], pub x134: c_int,
}

Fields§

§active: c_int§x4: c_int§dmg: c_int§dmg_f: f32§offset: Vec3§size: f32§angle: c_int§kb_growth: c_int§wdsk: c_int§kb: c_int§attribute: c_int§shield_dmg: c_int§hitsound_severity: c_int§hitsound_kind: c_int§x40: c_char§x41: c_char§_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>§x44: c_int§bone: *mut JOBJ§pos: Vec3§pos_prev: Vec3§pos_coll: Vec3§coll_distance: f32§victims: [HitVictim; 24]§x134: c_int

Implementations§

Source§

impl ftHit

Source

pub fn x421(&self) -> c_uchar

Source

pub fn set_x421(&mut self, val: c_uchar)

Source

pub fn x422(&self) -> c_uchar

Source

pub fn set_x422(&mut self, val: c_uchar)

Source

pub fn x423(&self) -> c_uchar

Source

pub fn set_x423(&mut self, val: c_uchar)

Source

pub fn x424(&self) -> c_uchar

Source

pub fn set_x424(&mut self, val: c_uchar)

Source

pub fn no_hurt(&self) -> c_uchar

Source

pub fn set_no_hurt(&mut self, val: c_uchar)

Source

pub fn no_reflect(&self) -> c_uchar

Source

pub fn set_no_reflect(&mut self, val: c_uchar)

Source

pub fn x427(&self) -> c_uchar

Source

pub fn set_x427(&mut self, val: c_uchar)

Source

pub fn x428(&self) -> c_uchar

Source

pub fn set_x428(&mut self, val: c_uchar)

Source

pub fn x431(&self) -> c_uchar

Source

pub fn set_x431(&mut self, val: c_uchar)

Source

pub fn x432(&self) -> c_uchar

Source

pub fn set_x432(&mut self, val: c_uchar)

Source

pub fn hit_all(&self) -> c_uchar

Source

pub fn set_hit_all(&mut self, val: c_uchar)

Source

pub fn x434(&self) -> c_uchar

Source

pub fn set_x434(&mut self, val: c_uchar)

Source

pub fn x435(&self) -> c_uchar

Source

pub fn set_x435(&mut self, val: c_uchar)

Source

pub fn x436(&self) -> c_uchar

Source

pub fn set_x436(&mut self, val: c_uchar)

Source

pub fn x437(&self) -> c_uchar

Source

pub fn set_x437(&mut self, val: c_uchar)

Source

pub fn x438(&self) -> c_uchar

Source

pub fn set_x438(&mut self, val: c_uchar)

Source

pub fn new_bitfield_1( x421: c_uchar, x422: c_uchar, x423: c_uchar, x424: c_uchar, no_hurt: c_uchar, no_reflect: c_uchar, x427: c_uchar, x428: c_uchar, x431: c_uchar, x432: c_uchar, hit_all: c_uchar, x434: c_uchar, x435: c_uchar, x436: c_uchar, x437: c_uchar, x438: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 2], u8>

Trait Implementations§

Source§

impl Clone for ftHit

Source§

fn clone(&self) -> ftHit

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 ftHit

Source§

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

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

impl Copy for ftHit

Auto Trait Implementations§

§

impl Freeze for ftHit

§

impl RefUnwindSafe for ftHit

§

impl !Send for ftHit

§

impl !Sync for ftHit

§

impl Unpin for ftHit

§

impl UnwindSafe for ftHit

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.