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