Trait naia_client::ImplRef[][src]

pub trait ImplRef<P>: Any + Send + Sync where
    P: ProtocolType
{ fn protocol(&self) -> P;
fn dyn_ref(&self) -> Ref<dyn Replicate<P> + 'static>;
fn clone_ref(&self) -> Self; }
Expand description

Represents a Ref of a concrete type that implements Replicate

Required methods

Converts the Ref to a ProtocolType

Converts the Ref to a Trait Object Ref

Clones the Ref

Implementors