pub struct WeaponInfo {
pub weapon_type: i16,
pub value: i16,
}
Fields§
§weapon_type: i16
§value: i16
Implementations§
Trait Implementations§
Source§impl Clone for WeaponInfo
impl Clone for WeaponInfo
Source§fn clone(&self) -> WeaponInfo
fn clone(&self) -> WeaponInfo
Returns a copy 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 WeaponInfo
impl Debug for WeaponInfo
Source§impl Default for WeaponInfo
impl Default for WeaponInfo
Source§fn default() -> WeaponInfo
fn default() -> WeaponInfo
Returns the “default value” for a type. Read more
impl Copy for WeaponInfo
Auto Trait Implementations§
impl Freeze for WeaponInfo
impl RefUnwindSafe for WeaponInfo
impl Send for WeaponInfo
impl Sync for WeaponInfo
impl Unpin for WeaponInfo
impl UnwindSafe for WeaponInfo
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