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