FtHurt

Struct FtHurt 

Source
#[repr(C)]
pub struct FtHurt { pub x0: c_int, pub hurt1_offset: Vec3, pub hurt2_offset: Vec3, pub scale: f32, pub jobj: *mut JOBJ, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub hurt1_pos: Vec3, pub hurt2_pos: Vec3, pub bone_index: c_int, pub hurt_kind: c_int, pub is_grabbable: c_int, }

Fields§

§x0: c_int§hurt1_offset: Vec3§hurt2_offset: Vec3§scale: f32§jobj: *mut JOBJ§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§hurt1_pos: Vec3§hurt2_pos: Vec3§bone_index: c_int§hurt_kind: c_int§is_grabbable: c_int

Implementations§

Source§

impl FtHurt

Source

pub fn is_updated(&self) -> c_uchar

Source

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

Source

pub fn x24_2(&self) -> c_uchar

Source

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

Source

pub fn x24_3(&self) -> c_uchar

Source

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

Source

pub fn x24_4(&self) -> c_uchar

Source

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

Source

pub fn x24_5(&self) -> c_uchar

Source

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

Source

pub fn x24_6(&self) -> c_uchar

Source

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

Source

pub fn x24_7(&self) -> c_uchar

Source

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

Source

pub fn x24_8(&self) -> c_uchar

Source

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

Source

pub fn new_bitfield_1( is_updated: c_uchar, x24_2: c_uchar, x24_3: c_uchar, x24_4: c_uchar, x24_5: c_uchar, x24_6: c_uchar, x24_7: c_uchar, x24_8: c_uchar, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for FtHurt

Source§

fn clone(&self) -> FtHurt

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 FtHurt

Source§

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

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

impl Copy for FtHurt

Auto Trait Implementations§

§

impl Freeze for FtHurt

§

impl RefUnwindSafe for FtHurt

§

impl !Send for FtHurt

§

impl !Sync for FtHurt

§

impl Unpin for FtHurt

§

impl UnwindSafe for FtHurt

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.