pub struct JukeboxMsgServerPacket {
pub player_id: i32,
pub direction: Direction,
pub instrument_id: i32,
pub note_id: i32,
}
Expand description
Someone playing a note with the bard skill nearby
Fields§
§player_id: i32
§direction: Direction
§instrument_id: i32
§note_id: i32
Implementations§
Trait Implementations§
Source§impl Clone for JukeboxMsgServerPacket
impl Clone for JukeboxMsgServerPacket
Source§fn clone(&self) -> JukeboxMsgServerPacket
fn clone(&self) -> JukeboxMsgServerPacket
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 JukeboxMsgServerPacket
impl Debug for JukeboxMsgServerPacket
Source§impl Default for JukeboxMsgServerPacket
impl Default for JukeboxMsgServerPacket
Source§fn default() -> JukeboxMsgServerPacket
fn default() -> JukeboxMsgServerPacket
Returns the “default value” for a type. Read more
Source§impl EoSerialize for JukeboxMsgServerPacket
impl EoSerialize for JukeboxMsgServerPacket
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a JukeboxMsgServerPacket into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a JukeboxMsgServerPacket from an EoReader instance
Source§impl PartialEq for JukeboxMsgServerPacket
impl PartialEq for JukeboxMsgServerPacket
impl Eq for JukeboxMsgServerPacket
impl StructuralPartialEq for JukeboxMsgServerPacket
Auto Trait Implementations§
impl Freeze for JukeboxMsgServerPacket
impl RefUnwindSafe for JukeboxMsgServerPacket
impl Send for JukeboxMsgServerPacket
impl Sync for JukeboxMsgServerPacket
impl Unpin for JukeboxMsgServerPacket
impl UnwindSafe for JukeboxMsgServerPacket
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