Struct naia_shared::ReplicaDynRefWrapper
source · [−]pub struct ReplicaDynRefWrapper<'a, P: Protocolize> { /* private fields */ }
Implementations
sourceimpl<'a, P: Protocolize> ReplicaDynRefWrapper<'a, P>
impl<'a, P: Protocolize> ReplicaDynRefWrapper<'a, P>
pub fn new<I: ReplicaDynRefTrait<P> + 'a>(inner: I) -> Self
Trait Implementations
sourceimpl<'a, P: Protocolize> Deref for ReplicaDynRefWrapper<'a, P>
impl<'a, P: Protocolize> Deref for ReplicaDynRefWrapper<'a, P>
type Target = dyn ReplicateSafe<P> + 'static
type Target = dyn ReplicateSafe<P> + 'static
The resulting type after dereferencing.
sourcefn deref(&self) -> &dyn ReplicateSafe<P>
fn deref(&self) -> &dyn ReplicateSafe<P>
Dereferences the value.
Auto Trait Implementations
impl<'a, P> !RefUnwindSafe for ReplicaDynRefWrapper<'a, P>
impl<'a, P> !Send for ReplicaDynRefWrapper<'a, P>
impl<'a, P> !Sync for ReplicaDynRefWrapper<'a, P>
impl<'a, P> Unpin for ReplicaDynRefWrapper<'a, P>
impl<'a, P> !UnwindSafe for ReplicaDynRefWrapper<'a, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more