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§
const FLAG: QueryResultFlags
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.