pub trait HasQuerySize { }
Expand description

This is a marker trait to represent the constraints on OpImageQuerySize too complex to be represented by const generics. Specifically:

“Its Dim operand must be 1D, 2D, 3D, Cube, Rect, or Buffer. Additionally, if its Dim is 1D, 2D, 3D, or Cube, it must also have either an MS of 1 or a Sampled of 0 or 2.”

Implementors§

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, { _ }, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>

source§

impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> HasQuerySize for Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>