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