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