#[repr(C)]pub struct ShieldDesc {
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 ShieldDesc
impl Clone for ShieldDesc
Source§fn clone(&self) -> ShieldDesc
fn clone(&self) -> ShieldDesc
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 ShieldDesc
impl Debug for ShieldDesc
impl Copy for ShieldDesc
Auto Trait Implementations§
impl Freeze for ShieldDesc
impl RefUnwindSafe for ShieldDesc
impl Send for ShieldDesc
impl Sync for ShieldDesc
impl Unpin for ShieldDesc
impl UnwindSafe for ShieldDesc
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