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