pub struct PlayerKill {
pub id: Player,
pub killer: Option<Player>,
pub pos: Position,
}Fields§
§id: Player§killer: Option<Player>§pos: PositionTrait Implementations§
Source§impl Clone for PlayerKill
impl Clone for PlayerKill
Source§fn clone(&self) -> PlayerKill
fn clone(&self) -> PlayerKill
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 PlayerKill
impl Debug for PlayerKill
Source§impl<'de> DeserializeV5<'de> for PlayerKill
impl<'de> DeserializeV5<'de> for PlayerKill
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<PlayerKill> for ServerPacket
impl From<PlayerKill> for ServerPacket
Source§fn from(v: PlayerKill) -> Self
fn from(v: PlayerKill) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for PlayerKill
impl SerializeV5 for PlayerKill
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for PlayerKill
Auto Trait Implementations§
impl Freeze for PlayerKill
impl RefUnwindSafe for PlayerKill
impl Send for PlayerKill
impl Sync for PlayerKill
impl Unpin for PlayerKill
impl UnwindSafe for PlayerKill
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