Trait web_glitz::image::texture_2d_array::LevelSubImageLayersIndex[][src]

pub trait LevelSubImageLayersIndex<'a, F> {
    type Output;
    fn get(self, layers: &'a LevelSubImageLayers<'_, F>) -> Option<Self::Output>;
unsafe fn get_unchecked(
        self,
        layers: &'a LevelSubImageLayers<'_, F>
    ) -> Self::Output; }
Expand description

Associated Types

The output type returned by the indexing operations.

Required methods

Returns the output for this operation if in bounds, or None otherwise.

Returns the output for this operation, without performing any bounds checking.

Implementations on Foreign Types

Implementors