pub trait FragmentSpread {
type Directives: VariableDirectives;
// Required methods
fn name(&self) -> &str;
fn directives(&self) -> Option<&Self::Directives>;
}Required Associated Types§
Required Methods§
fn name(&self) -> &str
fn directives(&self) -> Option<&Self::Directives>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".