pub struct PlayClickWindowSpec {
pub window_id: u8,
pub slot: i16,
pub button: i8,
pub action_number: i16,
pub mode: InventoryOperationMode,
pub clicked_item: Slot,
}
Fields§
§window_id: u8
§slot: i16
§action_number: i16
§mode: InventoryOperationMode
§clicked_item: Slot
Trait Implementations§
Source§impl Clone for PlayClickWindowSpec
impl Clone for PlayClickWindowSpec
Source§fn clone(&self) -> PlayClickWindowSpec
fn clone(&self) -> PlayClickWindowSpec
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 PlayClickWindowSpec
impl Debug for PlayClickWindowSpec
Source§impl Deserialize for PlayClickWindowSpec
impl Deserialize for PlayClickWindowSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(u8, i16, i8, i16, InventoryOperationMode, Option<ItemStack>)> for PlayClickWindowSpec
impl From<(u8, i16, i8, i16, InventoryOperationMode, Option<ItemStack>)> for PlayClickWindowSpec
Source§impl From<PlayClickWindowSpec> for (u8, i16, i8, i16, InventoryOperationMode, Slot)
impl From<PlayClickWindowSpec> for (u8, i16, i8, i16, InventoryOperationMode, Slot)
Source§fn from(other: PlayClickWindowSpec) -> Self
fn from(other: PlayClickWindowSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayClickWindowSpec
impl PartialEq for PlayClickWindowSpec
Source§impl Serialize for PlayClickWindowSpec
impl Serialize for PlayClickWindowSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayClickWindowSpec
Auto Trait Implementations§
impl Freeze for PlayClickWindowSpec
impl RefUnwindSafe for PlayClickWindowSpec
impl Send for PlayClickWindowSpec
impl Sync for PlayClickWindowSpec
impl Unpin for PlayClickWindowSpec
impl UnwindSafe for PlayClickWindowSpec
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