pub trait TermBuilder: Sized {
// Required methods
fn world(&mut self) -> *mut ecs_world_t;
fn filter_desc(&mut self) -> &mut ecs_filter_desc_t;
fn current_term(&mut self) -> &mut ecs_term_t;
fn next_term(&mut self);
// Provided methods
fn term<A: Component>(self) -> Self { ... }
fn without<A: Component>(self) -> Self { ... }
fn term_dynamic(self, comp_id: EntityId) -> Self { ... }
fn with_components<'c, G: ComponentGroup<'c>>(self) -> Self { ... }
}Required Methods§
fn world(&mut self) -> *mut ecs_world_t
fn filter_desc(&mut self) -> &mut ecs_filter_desc_t
fn current_term(&mut self) -> &mut ecs_term_t
fn next_term(&mut self)
Provided Methods§
fn term<A: Component>(self) -> Self
fn without<A: Component>(self) -> Self
fn term_dynamic(self, comp_id: EntityId) -> Self
fn with_components<'c, G: ComponentGroup<'c>>(self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.