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