pub struct ItemSlot {
pub item: Item,
pub prefix: Option<Prefix>,
pub count: PositiveI16,
}
Fields§
§item: Item
§prefix: Option<Prefix>
§count: PositiveI16
Trait Implementations§
Source§impl From<ItemSlot> for SingleItemSlot
impl From<ItemSlot> for SingleItemSlot
Source§impl From<SingleItemSlot> for ItemSlot
impl From<SingleItemSlot> for ItemSlot
Source§fn from(value: SingleItemSlot) -> Self
fn from(value: SingleItemSlot) -> Self
Converts to this type from the input type.
impl Copy for ItemSlot
impl Eq for ItemSlot
impl StructuralPartialEq for ItemSlot
Auto Trait Implementations§
impl Freeze for ItemSlot
impl RefUnwindSafe for ItemSlot
impl Send for ItemSlot
impl Sync for ItemSlot
impl Unpin for ItemSlot
impl UnwindSafe for ItemSlot
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