pub struct QueryTrail<'a, T, K> { /* private fields */ }
Expand description
A wrapper around a juniper::LookAheadSelection
with methods for each possible child.
Implementations§
Source§impl<'a, T> QueryTrail<'a, T, NotWalked>
impl<'a, T> QueryTrail<'a, T, NotWalked>
Sourcepub fn walk(self) -> Option<QueryTrail<'a, T, Walked>>
pub fn walk(self) -> Option<QueryTrail<'a, T, Walked>>
Check if the trail is present in the query being executed
Auto Trait Implementations§
impl<'a, T, K> Freeze for QueryTrail<'a, T, K>where
K: Freeze,
impl<'a, T, K> RefUnwindSafe for QueryTrail<'a, T, K>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, K> Send for QueryTrail<'a, T, K>
impl<'a, T, K> Sync for QueryTrail<'a, T, K>
impl<'a, T, K> Unpin for QueryTrail<'a, T, K>
impl<'a, T, K> UnwindSafe for QueryTrail<'a, T, K>where
K: UnwindSafe,
T: 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