pub struct FragmentSpread<'a>(/* private fields */);
Implementations§
Source§impl<'a> FragmentSpread<'a>
impl<'a> FragmentSpread<'a>
pub fn fragment(&self) -> Option<FragmentDefinition<'a>>
Source§impl<'a> FragmentSpread<'a>
impl<'a> FragmentSpread<'a>
pub fn fragment_name(&self) -> &'a str
pub fn fragment_name_span(&self) -> Span
pub fn directives(&self) -> Iter<'a, Directive<'a>> ⓘ
Source§impl FragmentSpread<'_>
impl FragmentSpread<'_>
pub fn id(&self) -> FragmentSpreadId
Trait Implementations§
Source§impl<'a> Clone for FragmentSpread<'a>
impl<'a> Clone for FragmentSpread<'a>
Source§fn clone(&self) -> FragmentSpread<'a>
fn clone(&self) -> FragmentSpread<'a>
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 Debug for FragmentSpread<'_>
impl Debug for FragmentSpread<'_>
Source§impl IdReader for FragmentSpread<'_>
impl IdReader for FragmentSpread<'_>
type Id = FragmentSpreadId
type Reader<'a> = FragmentSpread<'a>
fn new(id: Self::Id, document: &ExecutableDocument) -> Self::Reader<'_>
impl<'a> Copy for FragmentSpread<'a>
Auto Trait Implementations§
impl<'a> Freeze for FragmentSpread<'a>
impl<'a> RefUnwindSafe for FragmentSpread<'a>
impl<'a> Send for FragmentSpread<'a>
impl<'a> Sync for FragmentSpread<'a>
impl<'a> Unpin for FragmentSpread<'a>
impl<'a> UnwindSafe for FragmentSpread<'a>
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