Struct graphql_parser::query::SelectionSet
source · pub struct SelectionSet<'a, T: Text<'a>> {
pub span: (Pos, Pos),
pub items: Vec<Selection<'a, T>>,
}
Fields§
§span: (Pos, Pos)
§items: Vec<Selection<'a, T>>
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for SelectionSet<'a, T>
impl<'a, T: Clone + Text<'a>> Clone for SelectionSet<'a, T>
source§fn clone(&self) -> SelectionSet<'a, T>
fn clone(&self) -> SelectionSet<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, T> Display for SelectionSet<'a, T>where
T: Text<'a>,
impl<'a, T> Display for SelectionSet<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq<SelectionSet<'a, T>> for SelectionSet<'a, T>
impl<'a, T: PartialEq + Text<'a>> PartialEq<SelectionSet<'a, T>> for SelectionSet<'a, T>
source§fn eq(&self, other: &SelectionSet<'a, T>) -> bool
fn eq(&self, other: &SelectionSet<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.