[][src]Struct esl::Weapon

pub struct Weapon {
    pub weight: f32,
    pub value: u32,
    pub weapon_type: WeaponType,
    pub health: u16,
    pub speed: f32,
    pub reach: f32,
    pub enchantment: u16,
    pub chop_min: u8,
    pub chop_max: u8,
    pub slash_min: u8,
    pub slash_max: u8,
    pub thrust_min: u8,
    pub thrust_max: u8,
    pub flags: WeaponFlags,
}

Fields

weight: f32value: u32weapon_type: WeaponTypehealth: u16speed: f32reach: f32enchantment: u16chop_min: u8chop_max: u8slash_min: u8slash_max: u8thrust_min: u8thrust_max: u8flags: WeaponFlags

Trait Implementations

impl Clone for Weapon[src]

impl Debug for Weapon[src]

impl<'de> Deserialize<'de> for Weapon[src]

impl Eq for Weapon[src]

impl From<Weapon> for Field[src]

impl PartialEq<Weapon> for Weapon[src]

impl Serialize for Weapon[src]

Auto Trait Implementations

impl RefUnwindSafe for Weapon

impl Send for Weapon

impl Sync for Weapon

impl Unpin for Weapon

impl UnwindSafe for Weapon

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.