use std::marker::PhantomData; use crate::component::Component; use crate::query::{TermWithoutField, TermsBuilder, TermsBuilderInterface}; pub struct With where ComponentT: Component, { _pd: PhantomData, } impl TermWithoutField for With where ComponentT: Component, { fn apply_to_terms_builder(terms_builder: &mut TermsBuilder<'_>) { terms_builder.with::(); } } pub struct Without where ComponentT: Component, { _pd: PhantomData, } impl TermWithoutField for Without where ComponentT: Component, { fn apply_to_terms_builder(terms_builder: &mut TermsBuilder<'_>) { terms_builder.without::(); } }