[][src]Struct reefast::dh::ItemEffect

pub struct ItemEffect {
    pub item_id: ReeInt,
    pub effect_id: ReeInt,
    pub is_default: bool,
}

An item type - dogma effect relation.

Fields

item_id: ReeInt

Refers an item type involved in the relation.

effect_id: ReeInt

Refers a dogma effect involved in the relation.

is_default: bool

Defines if the effect is default to the item or not.

Implementations

impl ItemEffect[src]

pub fn new(item_id: ReeInt, effect_id: ReeInt, is_default: bool) -> ItemEffect[src]

Make a new item-effect relation out of passed data.

Trait Implementations

impl Debug for ItemEffect[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> From<T> for T[src]

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

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.