pub struct QueryAnd<Q1, Q2>{ /* private fields */ }
Expand description
Helper utility for combining two queries, useful if you want to iteratively construct a query in multiple parts.
Example:
use ixa::{define_person_property, people::QueryAnd, Context, ContextPeopleExt};
define_person_property!(Age, u8);
define_person_property!(Alive, bool);
let context = Context::new();
let q1 = (Age, 42);
let q2 = (Alive, true);
context.query_people(QueryAnd::new(q1, q2));
Implementations§
Trait Implementations§
impl<Q1, Q2> Copy for QueryAnd<Q1, Q2>
Auto Trait Implementations§
impl<Q1, Q2> Freeze for QueryAnd<Q1, Q2>
impl<Q1, Q2> RefUnwindSafe for QueryAnd<Q1, Q2>where
Q1: RefUnwindSafe,
Q2: RefUnwindSafe,
impl<Q1, Q2> Send for QueryAnd<Q1, Q2>
impl<Q1, Q2> Sync for QueryAnd<Q1, Q2>
impl<Q1, Q2> Unpin for QueryAnd<Q1, Q2>
impl<Q1, Q2> UnwindSafe for QueryAnd<Q1, Q2>where
Q1: UnwindSafe,
Q2: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more