cynic_parser::type_system

Trait TypeSystemId

Source
pub trait TypeSystemId: Copy {
    type Reader<'a>;

    // Required method
    fn read(self, ast: &TypeSystemDocument) -> Self::Reader<'_>;
}

Required Associated Types§

Source

type Reader<'a>

Required Methods§

Source

fn read(self, ast: &TypeSystemDocument) -> Self::Reader<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TypeSystemId for StringLiteralId

Source§

impl TypeSystemId for ConstValueId

Source§

type Reader<'a> = ConstValue<'a>

Source§

impl TypeSystemId for ValueId

Source§

type Reader<'a> = Value<'a>

Source§

impl TypeSystemId for ArgumentId

Source§

type Reader<'a> = Argument<'a>

Source§

impl TypeSystemId for DefinitionId

Source§

type Reader<'a> = Definition<'a>

Source§

impl TypeSystemId for DescriptionId

Source§

impl TypeSystemId for DirectiveDefinitionId

Source§

impl TypeSystemId for DirectiveId

Source§

type Reader<'a> = Directive<'a>

Source§

impl TypeSystemId for EnumDefinitionId

Source§

impl TypeSystemId for EnumValueDefinitionId

Source§

impl TypeSystemId for FieldDefinitionId

Source§

impl TypeSystemId for InputObjectDefinitionId

Source§

impl TypeSystemId for InputValueDefinitionId

Source§

impl TypeSystemId for InterfaceDefinitionId

Source§

impl TypeSystemId for ObjectDefinitionId

Source§

impl TypeSystemId for RootOperationTypeDefinitionId

Source§

impl TypeSystemId for ScalarDefinitionId

Source§

impl TypeSystemId for SchemaDefinitionId

Source§

impl TypeSystemId for TypeId

Source§

type Reader<'a> = Type<'a>

Source§

impl TypeSystemId for UnionDefinitionId

Source§

impl TypeSystemId for UnionMemberId