Enum rinecs::SystemCondition [−][src]
pub enum SystemCondition { StorageChanged(Id), HasComponents(Bitmask), ResourcesChanged(TypeId, Box<dyn Any>), HasResource(TypeId), All(Vec<SystemCondition>), Any(Vec<SystemCondition>), Not(Box<SystemCondition>), }
Variants
StorageChanged(Id)
HasResource(TypeId)
All(Vec<SystemCondition>)
Any(Vec<SystemCondition>)
Not(Box<SystemCondition>)
Implementations
impl SystemCondition
[src]
impl SystemCondition
[src]pub fn all(all: Vec<SystemCondition>) -> SystemCondition
[src]
pub fn any(any: Vec<SystemCondition>) -> SystemCondition
[src]
pub fn storage_changed<C: Component>() -> SystemCondition
[src]
pub fn has_resource<R: 'static>() -> SystemCondition
[src]
pub fn has_any(mask: Bitmask) -> SystemCondition
[src]
pub fn not(condition: SystemCondition) -> SystemCondition
[src]
pub fn resource_changed<R: 'static, F: 'static + Send + Fn(&R) -> bool>(
f: F
) -> SystemCondition
[src]
f: F
) -> SystemCondition