pub struct ScoreFrame {}Expand description
The ScoreFrame uploaded by the bancho client during multiplayer games.
Fields§
§timestamp: i32§id: u8§n300: u16§n100: u16§n50: u16§geki: u16§katu: u16§miss: u16§score: i32§combo: u16§max_combo: u16§perfect: bool§hp: u8§tag_byte: u8§score_v2: boolTrait Implementations§
Source§impl BanchoPacketLength for ScoreFrame
impl BanchoPacketLength for ScoreFrame
Source§impl BanchoPacketRead<ScoreFrame> for ScoreFrame
impl BanchoPacketRead<ScoreFrame> for ScoreFrame
fn read(reader: &mut PayloadReader<'_>) -> Option<ScoreFrame>
Source§impl BanchoPacketWrite for ScoreFrame
impl BanchoPacketWrite for ScoreFrame
Source§impl Clone for ScoreFrame
impl Clone for ScoreFrame
Source§fn clone(&self) -> ScoreFrame
fn clone(&self) -> ScoreFrame
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 ScoreFrame
impl Debug for ScoreFrame
Source§impl Default for ScoreFrame
impl Default for ScoreFrame
Source§fn default() -> ScoreFrame
fn default() -> ScoreFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoreFrame
impl<'de> Deserialize<'de> for ScoreFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScoreFrame
impl RefUnwindSafe for ScoreFrame
impl Send for ScoreFrame
impl Sync for ScoreFrame
impl Unpin for ScoreFrame
impl UnwindSafe for ScoreFrame
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