pub struct PlayPickItemSpec {
pub slot_idx: VarInt,
}
Fields§
§slot_idx: VarInt
Trait Implementations§
Source§impl Clone for PlayPickItemSpec
impl Clone for PlayPickItemSpec
Source§fn clone(&self) -> PlayPickItemSpec
fn clone(&self) -> PlayPickItemSpec
Returns a duplicate 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 PlayPickItemSpec
impl Debug for PlayPickItemSpec
Source§impl Deserialize for PlayPickItemSpec
impl Deserialize for PlayPickItemSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayPickItemSpec> for VarInt
impl From<PlayPickItemSpec> for VarInt
Source§fn from(other: PlayPickItemSpec) -> Self
fn from(other: PlayPickItemSpec) -> Self
Converts to this type from the input type.
Source§impl From<VarInt> for PlayPickItemSpec
impl From<VarInt> for PlayPickItemSpec
Source§impl PartialEq for PlayPickItemSpec
impl PartialEq for PlayPickItemSpec
Source§impl Serialize for PlayPickItemSpec
impl Serialize for PlayPickItemSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayPickItemSpec
Auto Trait Implementations§
impl Freeze for PlayPickItemSpec
impl RefUnwindSafe for PlayPickItemSpec
impl Send for PlayPickItemSpec
impl Sync for PlayPickItemSpec
impl Unpin for PlayPickItemSpec
impl UnwindSafe for PlayPickItemSpec
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