pub struct JoinGameParticipant {
pub local_index: u8,
pub participant_id: ParticipantId,
}
Fields§
§local_index: u8
§participant_id: ParticipantId
Implementations§
source§impl JoinGameParticipant
impl JoinGameParticipant
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
Trait Implementations§
source§impl Debug for JoinGameParticipant
impl Debug for JoinGameParticipant
source§impl PartialEq for JoinGameParticipant
impl PartialEq for JoinGameParticipant
impl StructuralPartialEq for JoinGameParticipant
Auto Trait Implementations§
impl Freeze for JoinGameParticipant
impl RefUnwindSafe for JoinGameParticipant
impl Send for JoinGameParticipant
impl Sync for JoinGameParticipant
impl Unpin for JoinGameParticipant
impl UnwindSafe for JoinGameParticipant
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