#[repr(C)]pub struct AbsorbDesc {
pub bone: c_int,
pub max_damage: c_int,
pub pos: Vec3,
pub radius: f32,
pub damage_mult: f32,
pub velocity_mult: f32,
pub flags: c_int,
}Fields§
§bone: c_int§max_damage: c_int§pos: Vec3§radius: f32§damage_mult: f32§velocity_mult: f32§flags: c_intTrait Implementations§
Source§impl Clone for AbsorbDesc
impl Clone for AbsorbDesc
Source§fn clone(&self) -> AbsorbDesc
fn clone(&self) -> AbsorbDesc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbsorbDesc
impl Debug for AbsorbDesc
impl Copy for AbsorbDesc
Auto Trait Implementations§
impl Freeze for AbsorbDesc
impl RefUnwindSafe for AbsorbDesc
impl Send for AbsorbDesc
impl Sync for AbsorbDesc
impl Unpin for AbsorbDesc
impl UnwindSafe for AbsorbDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more