pub struct ClientIndex(/* private fields */);
Expand description
Newtype over usize
used by the server to identify clients.
Trait Implementations§
Source§impl Clone for ClientIndex
impl Clone for ClientIndex
Source§fn clone(&self) -> ClientIndex
fn clone(&self) -> ClientIndex
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 ClientIndex
impl Debug for ClientIndex
Source§impl Display for ClientIndex
impl Display for ClientIndex
Source§impl Hash for ClientIndex
impl Hash for ClientIndex
Source§impl<T> Index<ClientIndex> for [T]
impl<T> Index<ClientIndex> for [T]
Source§impl<T> IndexMut<ClientIndex> for [T]
impl<T> IndexMut<ClientIndex> for [T]
Source§impl PartialEq for ClientIndex
impl PartialEq for ClientIndex
impl Copy for ClientIndex
impl Eq for ClientIndex
impl StructuralPartialEq for ClientIndex
Auto Trait Implementations§
impl Freeze for ClientIndex
impl RefUnwindSafe for ClientIndex
impl Send for ClientIndex
impl Sync for ClientIndex
impl Unpin for ClientIndex
impl UnwindSafe for ClientIndex
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