pub struct InventoryRow {
pub depth: usize,
pub stack: ItemStack,
pub from: InventoryLocation,
pub from_parent_instance_id: Option<Uuid>,
pub is_equip_shell: bool,
pub is_chest_shell: bool,
pub section: InventorySection,
}Expand description
One row in the inventory browser tree.
Fields§
§depth: usize§stack: ItemStack§from: InventoryLocationMoveItem source location for this stack.
from_parent_instance_id: Option<Uuid>Parent container instance when nested (belt shell, backpack, chest, pouch).
is_equip_shell: boolEquipped bag/chest shell — unequip via Enter instead of the move picker.
is_chest_shell: boolPlaced world chest shell — lock/unlock via Enter or l.
section: InventorySectionTrait Implementations§
Source§impl Clone for InventoryRow
impl Clone for InventoryRow
Source§fn clone(&self) -> InventoryRow
fn clone(&self) -> InventoryRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InventoryRow
impl RefUnwindSafe for InventoryRow
impl Send for InventoryRow
impl Sync for InventoryRow
impl Unpin for InventoryRow
impl UnsafeUnpin for InventoryRow
impl UnwindSafe for InventoryRow
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