Struct cynic_parser::type_system::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, DirectiveDefinitionId>> for DirectiveDefinition<'a>
impl<'a> From<ReadContext<'a, DirectiveDefinitionId>> for DirectiveDefinition<'a>
source§fn from(value: ReadContext<'a, DirectiveDefinitionId>) -> Self
fn from(value: ReadContext<'a, DirectiveDefinitionId>) -> 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, EnumDefinitionId>> for EnumDefinition<'a>
impl<'a> From<ReadContext<'a, EnumDefinitionId>> for EnumDefinition<'a>
source§fn from(value: ReadContext<'a, EnumDefinitionId>) -> Self
fn from(value: ReadContext<'a, EnumDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, EnumValueDefinitionId>> for EnumValueDefinition<'a>
impl<'a> From<ReadContext<'a, EnumValueDefinitionId>> for EnumValueDefinition<'a>
source§fn from(value: ReadContext<'a, EnumValueDefinitionId>) -> Self
fn from(value: ReadContext<'a, EnumValueDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, FieldDefinitionId>> for FieldDefinition<'a>
impl<'a> From<ReadContext<'a, FieldDefinitionId>> for FieldDefinition<'a>
source§fn from(value: ReadContext<'a, FieldDefinitionId>) -> Self
fn from(value: ReadContext<'a, FieldDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, InputObjectDefinitionId>> for InputObjectDefinition<'a>
impl<'a> From<ReadContext<'a, InputObjectDefinitionId>> for InputObjectDefinition<'a>
source§fn from(value: ReadContext<'a, InputObjectDefinitionId>) -> Self
fn from(value: ReadContext<'a, InputObjectDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, InputValueDefinitionId>> for InputValueDefinition<'a>
impl<'a> From<ReadContext<'a, InputValueDefinitionId>> for InputValueDefinition<'a>
source§fn from(value: ReadContext<'a, InputValueDefinitionId>) -> Self
fn from(value: ReadContext<'a, InputValueDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, InterfaceDefinitionId>> for InterfaceDefinition<'a>
impl<'a> From<ReadContext<'a, InterfaceDefinitionId>> for InterfaceDefinition<'a>
source§fn from(value: ReadContext<'a, InterfaceDefinitionId>) -> Self
fn from(value: ReadContext<'a, InterfaceDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, ObjectDefinitionId>> for ObjectDefinition<'a>
impl<'a> From<ReadContext<'a, ObjectDefinitionId>> for ObjectDefinition<'a>
source§fn from(value: ReadContext<'a, ObjectDefinitionId>) -> Self
fn from(value: ReadContext<'a, ObjectDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, RootOperationTypeDefinitionId>> for RootOperationTypeDefinition<'a>
impl<'a> From<ReadContext<'a, RootOperationTypeDefinitionId>> for RootOperationTypeDefinition<'a>
source§fn from(value: ReadContext<'a, RootOperationTypeDefinitionId>) -> Self
fn from(value: ReadContext<'a, RootOperationTypeDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, ScalarDefinitionId>> for ScalarDefinition<'a>
impl<'a> From<ReadContext<'a, ScalarDefinitionId>> for ScalarDefinition<'a>
source§fn from(value: ReadContext<'a, ScalarDefinitionId>) -> Self
fn from(value: ReadContext<'a, ScalarDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, SchemaDefinitionId>> for SchemaDefinition<'a>
impl<'a> From<ReadContext<'a, SchemaDefinitionId>> for SchemaDefinition<'a>
source§fn from(value: ReadContext<'a, SchemaDefinitionId>) -> Self
fn from(value: ReadContext<'a, SchemaDefinitionId>) -> Self
Converts to this type from the input type.
source§impl<'a> From<ReadContext<'a, StringLiteralId>> for StringLiteral<'a>
impl<'a> From<ReadContext<'a, StringLiteralId>> for StringLiteral<'a>
source§fn from(value: ReadContext<'a, StringLiteralId>) -> Self
fn from(value: ReadContext<'a, StringLiteralId>) -> 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, UnionDefinitionId>> for UnionDefinition<'a>
impl<'a> From<ReadContext<'a, UnionDefinitionId>> for UnionDefinition<'a>
source§fn from(value: ReadContext<'a, UnionDefinitionId>) -> Self
fn from(value: ReadContext<'a, UnionDefinitionId>) -> 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.
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