#[non_exhaustive]pub struct Platform {
pub name: String,
pub protect: String,
pub comment: Option<String>,
}Expand description
A platform refers to a windowing system which Vulkan can use.
Most operating systems will have only one corresponding platform, but Linux has multiple (XCB, Wayland, etc.)
Used in versions 1.1.70 and later.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringShort identifier.
protect: StringC macro name which is used to guard platform-specific definitions.
comment: Option<String>Human readable description of the platform.