pub enum InventoryLocation {
Undefined,
CurrentPlayer,
Player {
name: String,
},
NodeMeta {
pos: v3s16,
},
Detached {
name: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for InventoryLocation
impl Clone for InventoryLocation
Source§fn clone(&self) -> InventoryLocation
fn clone(&self) -> InventoryLocation
Returns a copy 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 InventoryLocation
impl Debug for InventoryLocation
Source§impl Deserialize for InventoryLocation
impl Deserialize for InventoryLocation
Source§type Output = InventoryLocation
type Output = InventoryLocation
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for InventoryLocation
impl PartialEq for InventoryLocation
Source§impl Serialize for InventoryLocation
impl Serialize for InventoryLocation
type Input = InventoryLocation
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for InventoryLocation
Auto Trait Implementations§
impl Freeze for InventoryLocation
impl RefUnwindSafe for InventoryLocation
impl Send for InventoryLocation
impl Sync for InventoryLocation
impl Unpin for InventoryLocation
impl UnwindSafe for InventoryLocation
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