pub fn new(context: T, root_node: RootNode<'static, QueryT, MutationT>) -> GraphQLState<T, QueryT, MutationT> {
        GraphQLState {
            inner: Arc::new(GraphQLStateInner { context, root_node }),
        }
    }
/// Creates a new `GraphQLState` from components.
Creates a new `GraphQLState` from components.
Creates a new ` GraphQLState ` from components .
pub fn new(context: T, root_node: RootNode<'static, QueryT, MutationT>) -> GraphQLState<T, QueryT, MutationT> {
        GraphQLState {
            inner: Arc::new(GraphQLStateInner { context, root_node }),
        }
    }
pub fn new ( context : T , root_node : RootNode < ' static , QueryT , MutationT > ) -> GraphQLState < T , QueryT , MutationT > { GraphQLState { inner : Arc :: new ( GraphQLStateInner { context , root_node } ) , } }
Creates a new `GraphQLState` from components.
Creates a new ` GraphQLState ` from components .
context
T
root_node
RootNode<'static, QueryT, MutationT>
context
T
root_node
RootNode<'static, QueryT, MutationT>