pub struct ScoreBoardRanking {
pub id: Player,
pub pos: Option<Position>,
}Expand description
Low-res player positions, part of the ScoreBoard packet.
Fields§
§id: Player§pos: Option<Position>Trait Implementations§
Source§impl Clone for ScoreBoardRanking
impl Clone for ScoreBoardRanking
Source§fn clone(&self) -> ScoreBoardRanking
fn clone(&self) -> ScoreBoardRanking
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 ScoreBoardRanking
impl Debug for ScoreBoardRanking
Source§impl<'de> DeserializeV5<'de> for ScoreBoardRanking
impl<'de> DeserializeV5<'de> for ScoreBoardRanking
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl SerializeV5 for ScoreBoardRanking
impl SerializeV5 for ScoreBoardRanking
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
impl Copy for ScoreBoardRanking
Auto Trait Implementations§
impl Freeze for ScoreBoardRanking
impl RefUnwindSafe for ScoreBoardRanking
impl Send for ScoreBoardRanking
impl Sync for ScoreBoardRanking
impl Unpin for ScoreBoardRanking
impl UnwindSafe for ScoreBoardRanking
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