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

# Trait maplibre::tcs::tiles::ComponentQueryUnsafe

source ·

    pub trait ComponentQueryUnsafe: ComponentQueryMut {
        // Required method
        unsafe fn query_unsafe<'t, 's>(
            tiles: &'t Tiles,
            tile: Tile,
            state: Self::State<'s>
        ) -> Option<Self::MutItem<'t>>;
    }

## Required Methods§

source

#### unsafe fn query_unsafe<'t, 's>( tiles: &'t Tiles, tile: Tile, state: Self::State<'s> ) -> Option<Self::MutItem<'t>>

## Object Safety§

This trait is not object safe.

## Implementations on Foreign Types§

source §

### impl<'a, T: TileComponent> ComponentQueryUnsafe for &'a T

source §

#### unsafe fn query_unsafe<'t, 's>( tiles: &'t Tiles, tile: Tile, state: Self::State<'s> ) -> Option<Self::MutItem<'t>>

source §

### impl<'a, T: TileComponent> ComponentQueryUnsafe for &'a mut T

source §

#### unsafe fn query_unsafe<'t, 's>( tiles: &'t Tiles, tile: Tile, state: Self::State<'s> ) -> Option<Self::MutItem<'t>>

SAFETY: Safe if tiles is borrowed mutably.

## Implementors§