Function qecs_core::destroy_entity
[−]
[src]
pub fn destroy_entity<IdMgr, Key, StoBase: ?Sized>(
ids: &mut IdMgr,
stores: &mut ServiceWriteGuardMap<Key, StoBase>,
id: IdMgr::Id
) -> bool where
Key: Debug + Ord,
IdMgr: PrimaryIdManager,
StoBase: StoreBase<Id = IdMgr::Id>,
Safe abstraction for destroying a single entity.
Returns true
if successful, does nothing and returns false
if id
couldn't be
validated.