Struct cynic_parser::executable::ReadContext
source · pub struct ReadContext<'a, I> { /* private fields */ }Trait Implementations§
source§impl<'a, I: Clone> Clone for ReadContext<'a, I>
impl<'a, I: Clone> Clone for ReadContext<'a, I>
source§fn clone(&self) -> ReadContext<'a, I>
fn clone(&self) -> ReadContext<'a, I>
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, ArgumentId>> for Argument<'a>
impl<'a> From<ReadContext<'a, ArgumentId>> for Argument<'a>
source§fn from(value: ReadContext<'a, ArgumentId>) -> Self
fn from(value: ReadContext<'a, ArgumentId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, DirectiveId>> for Directive<'a>
impl<'a> From<ReadContext<'a, DirectiveId>> for Directive<'a>
source§fn from(value: ReadContext<'a, DirectiveId>) -> Self
fn from(value: ReadContext<'a, DirectiveId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, ExecutableDefinitionId>> for ExecutableDefinition<'a>
impl<'a> From<ReadContext<'a, ExecutableDefinitionId>> for ExecutableDefinition<'a>
source§fn from(value: ReadContext<'a, ExecutableDefinitionId>) -> Self
fn from(value: ReadContext<'a, ExecutableDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, FieldSelectionId>> for FieldSelection<'a>
impl<'a> From<ReadContext<'a, FieldSelectionId>> for FieldSelection<'a>
source§fn from(value: ReadContext<'a, FieldSelectionId>) -> Self
fn from(value: ReadContext<'a, FieldSelectionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, FragmentDefinitionId>> for FragmentDefinition<'a>
impl<'a> From<ReadContext<'a, FragmentDefinitionId>> for FragmentDefinition<'a>
source§fn from(value: ReadContext<'a, FragmentDefinitionId>) -> Self
fn from(value: ReadContext<'a, FragmentDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, FragmentSpreadId>> for FragmentSpread<'a>
impl<'a> From<ReadContext<'a, FragmentSpreadId>> for FragmentSpread<'a>
source§fn from(value: ReadContext<'a, FragmentSpreadId>) -> Self
fn from(value: ReadContext<'a, FragmentSpreadId>) -> Self
Converts to this type from the input type.
source§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.
source§impl<'a> From<ReadContext<'a, OperationDefinitionId>> for OperationDefinition<'a>
impl<'a> From<ReadContext<'a, OperationDefinitionId>> for OperationDefinition<'a>
source§fn from(value: ReadContext<'a, OperationDefinitionId>) -> Self
fn from(value: ReadContext<'a, OperationDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, SelectionId>> for Selection<'a>
impl<'a> From<ReadContext<'a, SelectionId>> for Selection<'a>
source§fn from(value: ReadContext<'a, SelectionId>) -> Self
fn from(value: ReadContext<'a, SelectionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, TypeId>> for Type<'a>
impl<'a> From<ReadContext<'a, TypeId>> for Type<'a>
source§fn from(value: ReadContext<'a, TypeId>) -> Self
fn from(value: ReadContext<'a, TypeId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, ValueId>> for Value<'a>
impl<'a> From<ReadContext<'a, ValueId>> for Value<'a>
source§fn from(reader: ReadContext<'a, ValueId>) -> Self
fn from(reader: ReadContext<'a, ValueId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, VariableDefinitionId>> for VariableDefinition<'a>
impl<'a> From<ReadContext<'a, VariableDefinitionId>> for VariableDefinition<'a>
source§fn from(value: ReadContext<'a, VariableDefinitionId>) -> Self
fn from(value: ReadContext<'a, VariableDefinitionId>) -> Self
Converts to this type from the input type.
impl<'a, I: Copy> Copy for ReadContext<'a, I>
Auto Trait Implementations§
impl<'a, I> Freeze for ReadContext<'a, I>where
I: Freeze,
impl<'a, I> RefUnwindSafe for ReadContext<'a, I>where
I: RefUnwindSafe,
impl<'a, I> Send for ReadContext<'a, I>where
I: Send,
impl<'a, I> Sync for ReadContext<'a, I>where
I: Sync,
impl<'a, I> Unpin for ReadContext<'a, I>where
I: Unpin,
impl<'a, I> UnwindSafe for ReadContext<'a, I>where
I: UnwindSafe,
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