[−][src]Function cynic::selection_set::inline_fragments
pub fn inline_fragments<'a, DecodesTo, TypeLock>(
fragments: Vec<(String, SelectionSet<'a, DecodesTo, TypeLock>)>
) -> SelectionSet<'a, DecodesTo, TypeLock> where
DecodesTo: 'a + Send + Sync,
Creates a SelectionSet that adds some inline fragments to a query.
This should be provided a Vec of typenames to the selection set that should be applied if that type is found.