pub struct ConsumableBuff {
pub spell_id: u32,
pub name: String,
pub item_budget: Option<ItemBudget>,
}Expand description
A resolved stat-buff consumable (potion, flask, or augment rune): buff spell + display name.
Fields§
§spell_id: u32§name: String§item_budget: Option<ItemBudget>Trait Implementations§
Source§impl Clone for ConsumableBuff
impl Clone for ConsumableBuff
Source§fn clone(&self) -> ConsumableBuff
fn clone(&self) -> ConsumableBuff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConsumableBuff
impl Debug for ConsumableBuff
Source§impl PartialEq for ConsumableBuff
impl PartialEq for ConsumableBuff
impl StructuralPartialEq for ConsumableBuff
Auto Trait Implementations§
impl Freeze for ConsumableBuff
impl RefUnwindSafe for ConsumableBuff
impl Send for ConsumableBuff
impl Sync for ConsumableBuff
impl Unpin for ConsumableBuff
impl UnsafeUnpin for ConsumableBuff
impl UnwindSafe for ConsumableBuff
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