pub struct Game2ThrowSnowballAtPosition {
pub x: i32,
pub y: i32,
pub trajectory: i32,
pub turn: i32,
pub sub_turn: i32,
}
Fields§
§x: i32
§y: i32
§trajectory: i32
§turn: i32
§sub_turn: i32
Trait Implementations§
Source§impl BaseParser for Game2ThrowSnowballAtPosition
impl BaseParser for Game2ThrowSnowballAtPosition
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl Clone for Game2ThrowSnowballAtPosition
impl Clone for Game2ThrowSnowballAtPosition
Source§fn clone(&self) -> Game2ThrowSnowballAtPosition
fn clone(&self) -> Game2ThrowSnowballAtPosition
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 Game2ThrowSnowballAtPosition
impl Debug for Game2ThrowSnowballAtPosition
Source§impl Default for Game2ThrowSnowballAtPosition
impl Default for Game2ThrowSnowballAtPosition
Source§fn default() -> Game2ThrowSnowballAtPosition
fn default() -> Game2ThrowSnowballAtPosition
Returns the “default value” for a type. Read more
Source§impl PartialEq for Game2ThrowSnowballAtPosition
impl PartialEq for Game2ThrowSnowballAtPosition
Source§fn eq(&self, other: &Game2ThrowSnowballAtPosition) -> bool
fn eq(&self, other: &Game2ThrowSnowballAtPosition) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for Game2ThrowSnowballAtPosition
Auto Trait Implementations§
impl Freeze for Game2ThrowSnowballAtPosition
impl RefUnwindSafe for Game2ThrowSnowballAtPosition
impl Send for Game2ThrowSnowballAtPosition
impl Sync for Game2ThrowSnowballAtPosition
impl Unpin for Game2ThrowSnowballAtPosition
impl UnwindSafe for Game2ThrowSnowballAtPosition
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