pub struct MobUpdate2 {
pub update: MobUpdate,
pub owner: Player,
}Expand description
MobUpdate but extended with an extra ownerId field as present in ab-protocol.
Fields§
§update: MobUpdate§owner: PlayerTrait Implementations§
Source§impl Clone for MobUpdate2
impl Clone for MobUpdate2
Source§fn clone(&self) -> MobUpdate2
fn clone(&self) -> MobUpdate2
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 MobUpdate2
impl Debug for MobUpdate2
Source§impl Deref for MobUpdate2
impl Deref for MobUpdate2
Source§impl DerefMut for MobUpdate2
impl DerefMut for MobUpdate2
Source§impl<'de> DeserializeV5<'de> for MobUpdate2
impl<'de> DeserializeV5<'de> for MobUpdate2
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<MobUpdate2> for ServerPacket
impl From<MobUpdate2> for ServerPacket
Source§fn from(v: MobUpdate2) -> Self
fn from(v: MobUpdate2) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for MobUpdate2
impl SerializeV5 for MobUpdate2
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for MobUpdate2
Auto Trait Implementations§
impl Freeze for MobUpdate2
impl RefUnwindSafe for MobUpdate2
impl Send for MobUpdate2
impl Sync for MobUpdate2
impl Unpin for MobUpdate2
impl UnwindSafe for MobUpdate2
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