pub struct JoinGameParticipant {
pub local_index: u8,
pub participant_id: ParticipantId,
}
Fields§
§local_index: u8
§participant_id: ParticipantId
Implementations§
source§impl JoinGameParticipant
impl JoinGameParticipant
sourcepub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
§Errors
io::Error
// TODO:
sourcepub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
§Errors
io::Error
// TODO:
Trait Implementations§
source§impl Debug for JoinGameParticipant
impl Debug for JoinGameParticipant
source§impl PartialEq for JoinGameParticipant
impl PartialEq for JoinGameParticipant
impl Eq 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