# OffscreenKernelEnvironment in maplibre::environment - Rust
API documentation for the Rust `OffscreenKernelEnvironment` trait in crate `maplibre`.

# Trait maplibre::environment::OffscreenKernelEnvironment

source ·

    pub trait OffscreenKernelEnvironment: Send + Sync + 'static {
        type HttpClient: HttpClient;

        // Required methods
        fn create() -> Self;
        fn source_client(&self) -> SourceClient<Self::HttpClient>;
    }

## Required Associated Types§

source

#### type HttpClient: HttpClient

## Required Methods§

source

#### fn create() -> Self

source

#### fn source_client(&self) -> SourceClient<Self::HttpClient>

## Object Safety§

This trait is not object safe.

## Implementors§

source §

### impl OffscreenKernelEnvironment for ReqwestOffscreenKernelEnvironment

§

#### type HttpClient = ReqwestHttpClient