[][src]Struct esl::Ingredient

pub struct Ingredient {
    pub weight: f32,
    pub value: u32,
    pub effect_1_index: Either<Option<i32>, EffectIndex>,
    pub effect_2_index: Either<Option<i32>, EffectIndex>,
    pub effect_3_index: Either<Option<i32>, EffectIndex>,
    pub effect_4_index: Either<Option<i32>, EffectIndex>,
    pub effect_1_skill: Either<Option<i32>, Skill>,
    pub effect_2_skill: Either<Option<i32>, Skill>,
    pub effect_3_skill: Either<Option<i32>, Skill>,
    pub effect_4_skill: Either<Option<i32>, Skill>,
    pub effect_1_attribute: Either<Option<i32>, Attribute>,
    pub effect_2_attribute: Either<Option<i32>, Attribute>,
    pub effect_3_attribute: Either<Option<i32>, Attribute>,
    pub effect_4_attribute: Either<Option<i32>, Attribute>,
}

Fields

weight: f32value: u32effect_1_index: Either<Option<i32>, EffectIndex>effect_2_index: Either<Option<i32>, EffectIndex>effect_3_index: Either<Option<i32>, EffectIndex>effect_4_index: Either<Option<i32>, EffectIndex>effect_1_skill: Either<Option<i32>, Skill>effect_2_skill: Either<Option<i32>, Skill>effect_3_skill: Either<Option<i32>, Skill>effect_4_skill: Either<Option<i32>, Skill>effect_1_attribute: Either<Option<i32>, Attribute>effect_2_attribute: Either<Option<i32>, Attribute>effect_3_attribute: Either<Option<i32>, Attribute>effect_4_attribute: Either<Option<i32>, Attribute>

Trait Implementations

impl Clone for Ingredient[src]

impl Debug for Ingredient[src]

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

impl Eq for Ingredient[src]

impl From<Ingredient> for Field[src]

impl PartialEq<Ingredient> for Ingredient[src]

impl Serialize for Ingredient[src]

Auto Trait Implementations

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: for<'de> 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.