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