pub struct LocalPlayer {
pub index: LocalIndex,
pub participant_id: ParticipantId,
}
Fields§
§index: LocalIndex
§participant_id: ParticipantId
Trait Implementations§
Source§impl Clone for LocalPlayer
impl Clone for LocalPlayer
Source§fn clone(&self) -> LocalPlayer
fn clone(&self) -> LocalPlayer
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 moreAuto Trait Implementations§
impl Freeze for LocalPlayer
impl RefUnwindSafe for LocalPlayer
impl Send for LocalPlayer
impl Sync for LocalPlayer
impl Unpin for LocalPlayer
impl UnwindSafe for LocalPlayer
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