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§
fn interface<'a, S: SchemaDefinition<InterfaceTypeDefinition = Self::InterfaceTypeDefinition>>( &'a self, schema_definition: &'a S, ) -> &'a Self::InterfaceTypeDefinition
fn name(&self) -> &str
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.