Enum naia_server::EntityOwner
source · pub enum EntityOwner {
Server,
Client(UserKey),
Local,
}Variants§
Trait Implementations§
source§impl Clone for EntityOwner
impl Clone for EntityOwner
source§fn clone(&self) -> EntityOwner
fn clone(&self) -> EntityOwner
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 PartialEq<EntityOwner> for EntityOwner
impl PartialEq<EntityOwner> for EntityOwner
source§fn eq(&self, other: &EntityOwner) -> bool
fn eq(&self, other: &EntityOwner) -> bool
This method tests for
self and other values to be equal, and is used
by ==.