Enum oxygengine_core::ecs::storage::ComponentEvent [−][src]
Expand description
Component storage events received from a FlaggedStorage or any storage
that implements Tracked.
Variants
Inserted(u32)An insertion event, note that a modification event will be triggered if the entity already had a component and had a new one inserted.
Modified(u32)A modification event, this will be sent any time a component is accessed
mutably so be careful with joins over &mut storages as it could
potentially flag all of them.
Removed(u32)A removal event.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ComponentEventimpl Send for ComponentEventimpl Sync for ComponentEventimpl Unpin for ComponentEventimpl UnwindSafe for ComponentEventBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more