Struct assembly_xml::obj::store::Item[][src]

pub struct Item {
    pub attr_b: bool,
    pub attr_c: u32,
    pub attr_eq: bool,
    pub attr_id: u64,
    pub attr_l: u32,
    pub attr_s: u32,
    pub attr_sk: u32,
    pub x: Option<ItemExtra>,
}
Expand description

An item in an inventory

Fields

attr_b: bool

Is Bound

attr_c: u32

Count

attr_eq: bool

Is Equipped

attr_id: u64

Object ID

attr_l: u32

LOT

attr_s: u32

Slot

attr_sk: u32

Subkey

x: Option<ItemExtra>

Extra Info

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.