Struct naia_shared::GlobalDiffHandler
source · pub struct GlobalDiffHandler<E: Copy + Eq + Hash> { /* private fields */ }
Implementations§
source§impl<E: Copy + Eq + Hash> GlobalDiffHandler<E>
impl<E: Copy + Eq + Hash> GlobalDiffHandler<E>
pub fn new() -> Self
pub fn register_component( &mut self, global_world_manager: &dyn GlobalWorldManagerType<E>, entity: &E, component_kind: &ComponentKind, diff_mask_length: u8 ) -> MutSender
pub fn deregister_component( &mut self, entity: &E, component_kind: &ComponentKind )
pub fn receiver( &self, address: &Option<SocketAddr>, entity: &E, component_kind: &ComponentKind ) -> Option<MutReceiver>
Auto Trait Implementations§
impl<E> RefUnwindSafe for GlobalDiffHandler<E>where
E: RefUnwindSafe,
impl<E> Send for GlobalDiffHandler<E>where
E: Send,
impl<E> Sync for GlobalDiffHandler<E>where
E: Sync,
impl<E> Unpin for GlobalDiffHandler<E>where
E: Unpin,
impl<E> UnwindSafe for GlobalDiffHandler<E>where
E: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more