[][src]Struct reefast::dh::Buff

pub struct Buff {
    pub id: ReeInt,
    pub aggregate_mode: String,
    pub operation: String,
    pub item_mods: Vec<BuffIM>,
    pub loc_mods: Vec<BuffLM>,
    pub locgroup_mods: Vec<BuffLGM>,
    pub locsrq_mods: Vec<BuffLRSM>,
}

Dogma buff data.

Fields

id: ReeInt

Dogma buff ID.

aggregate_mode: String

Defines how multiple buffs of the same type are aggregated.

operation: String

Name of the operation applied to attributes targeted by the buff.

item_mods: Vec<BuffIM>

Modifiers which apply some modification to some item directly.

loc_mods: Vec<BuffLM>

Modifiers which apply some modification to location-filtered items.

locgroup_mods: Vec<BuffLGM>

Modifiers which apply some modification to location- and group-filtered items.

locsrq_mods: Vec<BuffLRSM>

Modifiers which apply some modification to location- and skill requirement-filtered items.

Implementations

impl Buff[src]

pub fn new<T: Into<String>, U: Into<String>>(
    id: ReeInt,
    aggregate_mode: T,
    operation: U,
    item_mods: Vec<BuffIM>,
    loc_mods: Vec<BuffLM>,
    locgroup_mods: Vec<BuffLGM>,
    locsrq_mods: Vec<BuffLRSM>
) -> Buff
[src]

Make a new dogma buff out of passed data.

Trait Implementations

impl Debug for Buff[src]

Auto Trait Implementations

impl RefUnwindSafe for Buff

impl Send for Buff

impl Sync for Buff

impl Unpin for Buff

impl UnwindSafe for Buff

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.