pub trait InterfaceImplementation {
    type InterfaceTypeDefinition: InterfaceTypeDefinition;

    // Required methods
    fn interface<'a, S: SchemaDefinition<InterfaceTypeDefinition = Self::InterfaceTypeDefinition>>(
        &'a self,
        schema_definition: &'a S
    ) -> &'a Self::InterfaceTypeDefinition;
    fn name(&self) -> &str;
}

Required Associated Types§

Required Methods§

source

fn interface<'a, S: SchemaDefinition<InterfaceTypeDefinition = Self::InterfaceTypeDefinition>>( &'a self, schema_definition: &'a S ) -> &'a Self::InterfaceTypeDefinition

source

fn name(&self) -> &str

Object Safety§

This trait is not object safe.

Implementors§