pub struct PlayCreativeInventoryActionSpec {
pub slot: i16,
pub clicked_item: Slot,
}Fields§
§slot: i16§clicked_item: SlotTrait Implementations§
Source§impl Clone for PlayCreativeInventoryActionSpec
impl Clone for PlayCreativeInventoryActionSpec
Source§fn clone(&self) -> PlayCreativeInventoryActionSpec
fn clone(&self) -> PlayCreativeInventoryActionSpec
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 Deserialize for PlayCreativeInventoryActionSpec
impl Deserialize for PlayCreativeInventoryActionSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayCreativeInventoryActionSpec> for (i16, Slot)
impl From<PlayCreativeInventoryActionSpec> for (i16, Slot)
Source§fn from(other: PlayCreativeInventoryActionSpec) -> Self
fn from(other: PlayCreativeInventoryActionSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayCreativeInventoryActionSpec
impl PartialEq for PlayCreativeInventoryActionSpec
Source§fn eq(&self, other: &PlayCreativeInventoryActionSpec) -> bool
fn eq(&self, other: &PlayCreativeInventoryActionSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlayCreativeInventoryActionSpec
impl Serialize for PlayCreativeInventoryActionSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayCreativeInventoryActionSpec
Auto Trait Implementations§
impl Freeze for PlayCreativeInventoryActionSpec
impl RefUnwindSafe for PlayCreativeInventoryActionSpec
impl Send for PlayCreativeInventoryActionSpec
impl Sync for PlayCreativeInventoryActionSpec
impl Unpin for PlayCreativeInventoryActionSpec
impl UnwindSafe for PlayCreativeInventoryActionSpec
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