pub enum SelectionReference<'a, S: Selection> {
Field(&'a S::Field),
FragmentSpread(&'a S::FragmentSpread),
InlineFragment(&'a S::InlineFragment),
}Variants§
Implementations§
source§impl<'a, S: Selection> SelectionReference<'a, S>
impl<'a, S: Selection> SelectionReference<'a, S>
pub fn directives(&self) -> &'a <S::Field as Field>::Directives
Trait Implementations§
Auto Trait Implementations§
impl<'a, S> Freeze for SelectionReference<'a, S>
impl<'a, S> RefUnwindSafe for SelectionReference<'a, S>where
<S as Selection>::Field: RefUnwindSafe,
<S as Selection>::FragmentSpread: RefUnwindSafe,
<S as Selection>::InlineFragment: RefUnwindSafe,
impl<'a, S> Send for SelectionReference<'a, S>where
<S as Selection>::Field: Sync,
<S as Selection>::FragmentSpread: Sync,
<S as Selection>::InlineFragment: Sync,
impl<'a, S> Sync for SelectionReference<'a, S>where
<S as Selection>::Field: Sync,
<S as Selection>::FragmentSpread: Sync,
<S as Selection>::InlineFragment: Sync,
impl<'a, S> Unpin for SelectionReference<'a, S>
impl<'a, S> UnwindSafe for SelectionReference<'a, S>where
<S as Selection>::Field: RefUnwindSafe,
<S as Selection>::FragmentSpread: RefUnwindSafe,
<S as Selection>::InlineFragment: RefUnwindSafe,
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