pub struct PlayeritemSpec {
pub item: u16,
}
Fields§
§item: u16
Trait Implementations§
Source§impl Clone for PlayeritemSpec
impl Clone for PlayeritemSpec
Source§fn clone(&self) -> PlayeritemSpec
fn clone(&self) -> PlayeritemSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlayeritemSpec
impl Debug for PlayeritemSpec
Source§impl Deserialize for PlayeritemSpec
impl Deserialize for PlayeritemSpec
Source§type Output = PlayeritemSpec
type Output = PlayeritemSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<PlayeritemSpec> for ToServerCommand
impl From<PlayeritemSpec> for ToServerCommand
Source§fn from(value: PlayeritemSpec) -> Self
fn from(value: PlayeritemSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayeritemSpec
impl PartialEq for PlayeritemSpec
Source§impl Serialize for PlayeritemSpec
impl Serialize for PlayeritemSpec
type Input = PlayeritemSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayeritemSpec
Auto Trait Implementations§
impl Freeze for PlayeritemSpec
impl RefUnwindSafe for PlayeritemSpec
impl Send for PlayeritemSpec
impl Sync for PlayeritemSpec
impl Unpin for PlayeritemSpec
impl UnwindSafe for PlayeritemSpec
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