Struct specs::storage::TrackChannels [] [src]

pub struct TrackChannels {
    pub modify: EventChannel<ModifiedFlag>,
    pub insert: EventChannel<InsertedFlag>,
    pub remove: EventChannel<RemovedFlag>,
}

All three types of tracked modifications to components.

Fields

Modifications event channel.

Note: This does not include insertions, only when a component is changed after it has been added to an entity.

Insertions event channel.

Note: Insertion events only occur when something inserts a component without there being a pre-existing component. If there is a pre-existing component for an entity then it will fire a modification event.

Removed event channel.

Methods

impl TrackChannels
[src]

[src]

Creates a new structure that holds all types of component modification events.

Trait Implementations

impl Default for TrackChannels
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for TrackChannels

impl Sync for TrackChannels