Selection

Trait Selection 

Source
pub trait Selection: Sized {
    type Field: Field;
    type FragmentSpread: FragmentSpread<Directives = <Self::Field as Field>::Directives>;
    type InlineFragment: InlineFragment<Directives = <Self::Field as Field>::Directives>;

    // Required method
    fn as_ref(&self) -> SelectionReference<'_, Self>;
}

Required Associated Types§

Required Methods§

Source

fn as_ref(&self) -> SelectionReference<'_, Self>

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§