pub unsafe trait TaggedStructure {
const STRUCTURE_TYPE: StructureType;
}
Expand description
Structures implementing this trait are layout-compatible with vk::BaseInStructure
and
vk::BaseOutStructure
. Such structures have an s_type
field indicating its type, which
must always match the value of TaggedStructure::STRUCTURE_TYPE
.
Required Associated Constants§
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.