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