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