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