pub trait EntityHandleConverter<E: Copy + Eq + Hash> {
    // Required methods
    fn handle_to_entity(
        &self,
        entity_handle: &EntityHandle
    ) -> Result<E, EntityDoesNotExistError>;
    fn entity_to_handle(
        &self,
        entity: &E
    ) -> Result<EntityHandle, EntityDoesNotExistError>;
}

Required Methods§

Implementors§