pub struct SetRandomState {
pub item_id: LegacyId,
pub param: i32,
}
Fields§
§item_id: LegacyId
§param: i32
Trait Implementations§
Source§impl BaseParser for SetRandomState
impl BaseParser for SetRandomState
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 SetRandomState
impl Clone for SetRandomState
Source§fn clone(&self) -> SetRandomState
fn clone(&self) -> SetRandomState
Returns a copy 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 SetRandomState
impl Debug for SetRandomState
Source§impl Default for SetRandomState
impl Default for SetRandomState
Source§fn default() -> SetRandomState
fn default() -> SetRandomState
Returns the “default value” for a type. Read more
Source§impl PacketVariable for SetRandomState
impl PacketVariable for SetRandomState
Source§impl PartialEq for SetRandomState
impl PartialEq for SetRandomState
impl StructuralPartialEq for SetRandomState
Auto Trait Implementations§
impl Freeze for SetRandomState
impl RefUnwindSafe for SetRandomState
impl Send for SetRandomState
impl Sync for SetRandomState
impl Unpin for SetRandomState
impl UnwindSafe for SetRandomState
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