pub struct InventoryPosition {
pub count: u32,
pub inventory: &'static str,
pub stack: u16,
}Fields§
§count: u32§inventory: &'static str§stack: u16Trait Implementations§
Source§impl Clone for InventoryPosition
impl Clone for InventoryPosition
Source§fn clone(&self) -> InventoryPosition
fn clone(&self) -> InventoryPosition
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 moreimpl Copy for InventoryPosition
Source§impl Debug for InventoryPosition
impl Debug for InventoryPosition
Source§impl Default for InventoryPosition
impl Default for InventoryPosition
Source§fn default() -> InventoryPosition
fn default() -> InventoryPosition
Returns the “default value” for a type. Read more
Source§impl PartialEq for InventoryPosition
impl PartialEq for InventoryPosition
impl StructuralPartialEq for InventoryPosition
Auto Trait Implementations§
impl Freeze for InventoryPosition
impl RefUnwindSafe for InventoryPosition
impl Send for InventoryPosition
impl Sync for InventoryPosition
impl Unpin for InventoryPosition
impl UnsafeUnpin for InventoryPosition
impl UnwindSafe for InventoryPosition
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