PartDeflect

Struct PartDeflect 

Source
#[repr(C, packed(4))]
pub struct PartDeflect {
Show 51 fields pub flag: i32, pub deflect: i16, pub forcefield: i16, pub falloff: i16, pub shape: i16, pub tex_mode: i16, pub kink: i16, pub kink_axis: i16, pub zdir: i16, pub f_strength: f32, pub f_damp: f32, pub f_flow: f32, pub f_wind_factor: f32, pub _pad0: [i8; 4], pub f_size: f32, pub f_power: f32, pub maxdist: f32, pub mindist: f32, pub f_power_r: f32, pub maxrad: f32, pub minrad: f32, pub pdef_damp: f32, pub pdef_rdamp: f32, pub pdef_perm: f32, pub pdef_frict: f32, pub pdef_rfrict: f32, pub pdef_stickness: f32, pub absorption: f32, pub pdef_sbdamp: f32, pub pdef_sbift: f32, pub pdef_sboft: f32, pub clump_fac: f32, pub clump_pow: f32, pub kink_freq: f32, pub kink_shape: f32, pub kink_amp: f32, pub free_end: f32, pub tex_nabla: f32, pub tex: Pointer<Tex>, pub rng: Pointer<Nothing>, pub f_noise: f32, pub seed: i32, pub drawvec1: [f32; 4], pub drawvec2: [f32; 4], pub drawvec_falloff_min: [f32; 3], pub _pad1: [i8; 4], pub drawvec_falloff_max: [f32; 3], pub _pad2: [i8; 4], pub f_source: Pointer<Object>, pub pdef_cfrict: f32, pub _pad: [i8; 4],
}

Fields§

§flag: i32§deflect: i16§forcefield: i16§falloff: i16§shape: i16§tex_mode: i16§kink: i16§kink_axis: i16§zdir: i16§f_strength: f32§f_damp: f32§f_flow: f32§f_wind_factor: f32§_pad0: [i8; 4]§f_size: f32§f_power: f32§maxdist: f32§mindist: f32§f_power_r: f32§maxrad: f32§minrad: f32§pdef_damp: f32§pdef_rdamp: f32§pdef_perm: f32§pdef_frict: f32§pdef_rfrict: f32§pdef_stickness: f32§absorption: f32§pdef_sbdamp: f32§pdef_sbift: f32§pdef_sboft: f32§clump_fac: f32§clump_pow: f32§kink_freq: f32§kink_shape: f32§kink_amp: f32§free_end: f32§tex_nabla: f32§tex: Pointer<Tex>§rng: Pointer<Nothing>§f_noise: f32§seed: i32§drawvec1: [f32; 4]§drawvec2: [f32; 4]§drawvec_falloff_min: [f32; 3]§_pad1: [i8; 4]§drawvec_falloff_max: [f32; 3]§_pad2: [i8; 4]§f_source: Pointer<Object>§pdef_cfrict: f32§_pad: [i8; 4]

Trait Implementations§

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> 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.