pub struct ItemResult {
pub attributes: BTreeMap<i32, AttributeValue>,
pub state: State,
pub max_state: State,
pub charge: Option<Box<ItemResult>>,
}Expand description
The calculated attributes of the ship, its mode, the character, or one item.
Fields§
§attributes: BTreeMap<i32, AttributeValue>Every attribute, by attribute id.
state: StateThe state actually reached, which may be below what was requested.
max_state: StateThe highest state the item can reach.
charge: Option<Box<ItemResult>>The charge loaded in the module, if any.
Trait Implementations§
Source§impl Debug for ItemResult
impl Debug for ItemResult
Auto Trait Implementations§
impl Freeze for ItemResult
impl RefUnwindSafe for ItemResult
impl Send for ItemResult
impl Sync for ItemResult
impl Unpin for ItemResult
impl UnsafeUnpin for ItemResult
impl UnwindSafe for ItemResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more