[][src]Struct amethyst_network::NetIdentity

pub struct NetIdentity {
    pub uuid: Uuid,
}

A network identity. It can represent either a client or a server. It represents anything that can own an entity or a component. Think of it as an identity card. When used as a resource, it designates the local network uuid.

Fields

uuid: Uuid

The uuid identifying this NetIdentity.

Trait Implementations

impl Eq for NetIdentity[src]

impl Default for NetIdentity[src]

impl Clone for NetIdentity[src]

impl PartialOrd<NetIdentity> for NetIdentity[src]

impl PartialEq<NetIdentity> for NetIdentity[src]

impl Ord for NetIdentity[src]

impl Copy for NetIdentity[src]

impl Hash for NetIdentity[src]

impl Debug for NetIdentity[src]

impl Component for NetIdentity[src]

type Storage = VecStorage<NetIdentity>

Associated storage type for this component.

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Any for T where
    T: Any

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> TryDefault for T where
    T: Default

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]