diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-23 19:56:41 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-23 19:56:41 +0200 |
| commit | 8a41f5aeb3ac143d731928d1c343cd9338190f0a (patch) | |
| tree | a7a8bba7e119354abbaa9fff6ec4e16d2f66b829 /engine-ecs/src/lib.rs | |
| parent | 02afe68342870ce4f37d7e8fb45c985397d6e08d (diff) | |
Diffstat (limited to 'engine-ecs/src/lib.rs')
| -rw-r--r-- | engine-ecs/src/lib.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine-ecs/src/lib.rs b/engine-ecs/src/lib.rs index 6450587..a60ddcd 100644 --- a/engine-ecs/src/lib.rs +++ b/engine-ecs/src/lib.rs @@ -1,12 +1,12 @@ #![deny(clippy::all, clippy::pedantic)] -use std::any::{Any, TypeId, type_name}; +use std::any::{type_name, Any, TypeId}; use std::fmt::Debug; use std::hint::cold_path; use std::mem::ManuallyDrop; use std::rc::Rc; -use std::sync::Arc; use std::sync::atomic::{AtomicBool, Ordering}; +use std::sync::Arc; use hashbrown::HashMap; @@ -21,10 +21,10 @@ use crate::component::{ }; use crate::entity::{Declaration as EntityDeclaration, Handle as EntityHandle}; use crate::error::{ + err_handler_panic, ErrorHandler, Metadata as ErrorMetadata, SourceKind as ErrorSourceKind, - err_handler_panic, }; use crate::event::component::Added; use crate::event::{Emitted as EmittedEvent, NewEvents, Submitter as EventSubmitter}; @@ -33,19 +33,19 @@ use crate::lock::Lock; use crate::pair::{ChildOf, Pair, Wildcard}; use crate::phase::{ HasSystem as PhaseHasSystem, + Phase, POST_UPDATE as POST_UPDATE_PHASE, PRE_UPDATE as PRE_UPDATE_PHASE, - Phase, START as START_PHASE, UPDATE as UPDATE_PHASE, }; use crate::query::flexible::Query as FlexibleQuery; use crate::query::{ - MAX_TERM_CNT as QUERY_MAX_TERM_CNT, TermWithFieldTuple as QueryTermWithFieldTuple, TermWithoutFieldTuple as QueryTermWithoutFieldTuple, Terms as QueryTerms, TermsBuilderInterface, + MAX_TERM_CNT as QUERY_MAX_TERM_CNT, }; use crate::sole::{Single, Sole}; use crate::stats::Stats; @@ -670,7 +670,7 @@ impl<'a> EntityComponentRef<'a> } fn new(component_id: Uid, comp: &'a ArchetypeEntityComponent, entity_id: Uid) - -> Self + -> Self { Self { component_id, |
