[][src]Trait speedruns::data::graphql::query_trails::DowncastQueryTrail

pub trait DowncastQueryTrail<'a, T> {
    fn downcast(self) -> QueryTrail<'a, T, Walked>;
}

Convert from one type of QueryTrail to another. Used for converting interface and union trails into concrete subtypes.

This trait cannot live in juniper-from-schema itself because then we wouldn't be able to implement it for QueryTrail in the user's code. That would result in orphan instances.

Generated by juniper-from-schema.

Required methods

fn downcast(self) -> QueryTrail<'a, T, Walked>

Perform the downcast.

Generated by juniper-from-schema.

Loading content...

Implementors

impl<'a, '_> DowncastQueryTrail<'a, Category> for &'_ QueryTrail<'a, Node, Walked>[src]

impl<'a, '_> DowncastQueryTrail<'a, Game> for &'_ QueryTrail<'a, Node, Walked>[src]

impl<'a, '_> DowncastQueryTrail<'a, Level> for &'_ QueryTrail<'a, Node, Walked>[src]

impl<'a, '_> DowncastQueryTrail<'a, Run> for &'_ QueryTrail<'a, Node, Walked>[src]

impl<'a, '_> DowncastQueryTrail<'a, User> for &'_ QueryTrail<'a, Node, Walked>[src]

Loading content...