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