Expand description
Re-exports of the most commonly used items in the library.
This is intended to be glob-imported like so:
use evenio::prelude::*;
Re-exports§
pub use crate::component::Component;
pub use crate::component::ComponentId;
pub use crate::entity::EntityId;
pub use crate::event::Despawn;
pub use crate::event::EventMut;
pub use crate::event::GlobalEvent;
pub use crate::event::GlobalEventId;
pub use crate::event::Insert;
pub use crate::event::Receiver;
pub use crate::event::ReceiverMut;
pub use crate::event::Remove;
pub use crate::event::Sender;
pub use crate::event::Spawn;
pub use crate::event::TargetedEvent;
pub use crate::event::TargetedEventId;
pub use crate::fetch::Fetcher;
pub use crate::fetch::GetError;
pub use crate::fetch::Single;
pub use crate::fetch::SingleError;
pub use crate::fetch::TrySingle;
pub use crate::handler::Handler;
pub use crate::handler::HandlerId;
pub use crate::handler::HandlerParam;
pub use crate::handler::IntoHandler;
pub use crate::query::Has;
pub use crate::query::Not;
pub use crate::query::Or;
pub use crate::query::Query;
pub use crate::query::ReadOnlyQuery;
pub use crate::query::With;
pub use crate::query::Xor;
pub use crate::world::World;
Derive Macros§
- Derive macro for
Component
. SeeComponent
’s documentation for more information. - Derive macro for
Event
. SeeEvent
andGlobalEvent
’s documentation for more information. - Derive macro for
HandlerParam
. SeeHandlerParam
’s documentation for more information. - Derive macro for
Query
. SeeQuery
’s documentation for more information. - Derive macro for
Event
. SeeEvent
andTargetedEvent
’s documentation for more information.