Enum specs::storage::ComponentEvent [−][src]
Expand description
Component storage events received from a FlaggedStorage
or any storage
that implements Tracked
.
Variants
Inserted(Index)
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(Index)
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(Index)
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 ComponentEvent
impl Send for ComponentEvent
impl Sync for ComponentEvent
impl Unpin for ComponentEvent
impl UnwindSafe for ComponentEvent
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more