pub unsafe trait QueryResultElement: BufferContents + Sized {
    const FLAG: QueryResultFlags;
}
Expand description

A trait for elements of buffers that can be used as a destination for query results.

Safety

This is implemented for u32 and u64. Unless you really know what you’re doing, you should not implement this trait for any other type.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl QueryResultElement for u32

source§

impl QueryResultElement for u64

source§

const FLAG: QueryResultFlags = ash::vk::QueryResultFlags::TYPE_64

Implementors§