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