cynic_parser::type_system::iter

Trait IdReader

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

    // Required method
    fn new(id: Self::Id, document: &TypeSystemDocument) -> Self::Reader<'_>;
}

Required Associated Types§

Required Methods§

Source

fn new(id: Self::Id, document: &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 IdReader for Definition<'_>

Source§

impl IdReader for Argument<'_>

Source§

impl IdReader for Description<'_>

Source§

impl IdReader for Directive<'_>

Source§

impl IdReader for DirectiveDefinition<'_>

Source§

impl IdReader for EnumDefinition<'_>

Source§

impl IdReader for EnumValueDefinition<'_>

Source§

impl IdReader for FieldDefinition<'_>

Source§

impl IdReader for InputObjectDefinition<'_>

Source§

impl IdReader for InputValueDefinition<'_>

Source§

impl IdReader for InterfaceDefinition<'_>

Source§

impl IdReader for ObjectDefinition<'_>

Source§

impl IdReader for RootOperationTypeDefinition<'_>

Source§

impl IdReader for ScalarDefinition<'_>

Source§

impl IdReader for SchemaDefinition<'_>

Source§

impl IdReader for UnionDefinition<'_>

Source§

impl IdReader for UnionMember<'_>