Struct rpg::item::ItemInfluence [] [src]

pub struct ItemInfluence {
    pub attribute: Attribute,
    pub amount: AttributeValue,
}

The influence an item can have on a certain attribute

Fields

The attribute that is influenced

The amount about which the attribute is influenced

Methods

impl ItemInfluence
[src]

Creates a new ItemInfluence object

Trait Implementations

impl Clone for ItemInfluence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ItemInfluence
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ItemInfluence
[src]

impl Debug for ItemInfluence
[src]

Formats the value using the given formatter.