Enum vk_parse::FormatChild
source · #[non_exhaustive]
pub enum FormatChild {
Component {
name: String,
bits: String,
numericFormat: String,
planeIndex: Option<u8>,
},
Plane {
index: u8,
widthDivisor: u8,
heightDivisor: u8,
compatible: String,
},
SpirvImageFormat {
name: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Component
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Plane
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
SpirvImageFormat
Trait Implementations§
source§impl Clone for FormatChild
impl Clone for FormatChild
source§fn clone(&self) -> FormatChild
fn clone(&self) -> FormatChild
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FormatChild
impl Debug for FormatChild
source§impl PartialEq<FormatChild> for FormatChild
impl PartialEq<FormatChild> for FormatChild
source§fn eq(&self, other: &FormatChild) -> bool
fn eq(&self, other: &FormatChild) -> bool
This method tests for
self and other values to be equal, and is used
by ==.