Enum naia_shared::OwnedNetEntity
source · pub enum OwnedNetEntity {
Host(u16),
Remote(u16),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for OwnedNetEntity
impl Clone for OwnedNetEntity
source§fn clone(&self) -> OwnedNetEntity
fn clone(&self) -> OwnedNetEntity
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 Hash for OwnedNetEntity
impl Hash for OwnedNetEntity
source§impl PartialEq<OwnedNetEntity> for OwnedNetEntity
impl PartialEq<OwnedNetEntity> for OwnedNetEntity
source§fn eq(&self, other: &OwnedNetEntity) -> bool
fn eq(&self, other: &OwnedNetEntity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.