Struct cynic_parser::executable::InlineFragment
source · 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 directives(&self) -> impl ExactSizeIterator<Item = Directive<'a>>
pub fn selection_set(&self) -> impl ExactSizeIterator<Item = Selection<'a>>
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<'a> From<ReadContext<'a, InlineFragmentId>> for InlineFragment<'a>
impl<'a> From<ReadContext<'a, InlineFragmentId>> for InlineFragment<'a>
source§fn from(value: ReadContext<'a, InlineFragmentId>) -> Self
fn from(value: ReadContext<'a, InlineFragmentId>) -> Self
Converts to this type from the input type.
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