# QueryState in maplibre::tcs::tiles - Rust
API documentation for the Rust `QueryState` trait in crate `maplibre`.

# Trait maplibre::tcs::tiles::QueryState

source ·

    pub trait QueryState<'s> {
        // Required methods
        fn create(state: &'s mut GlobalQueryState) -> Self;
        fn clone_to<'a, S: QueryState<'a>>(&'a mut self) -> S;
    }

## Required Methods§

source

#### fn create(state: &'s mut GlobalQueryState) -> Self

source

#### fn clone_to<'a, S: QueryState<'a>>(&'a mut self) -> S

## Object Safety§

This trait is not object safe.

## Implementors§

source §

### impl<'s> QueryState<'s> for EphemeralQueryState<'s>