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.
name: Stringbits: StringnumericFormat: StringPlane
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.
index: u8widthDivisor: u8heightDivisor: u8compatible: StringSpirvImageFormat
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.
name: StringTrait Implementations
sourceimpl Clone for FormatChild
impl Clone for FormatChild
sourcefn clone(&self) -> FormatChild
fn clone(&self) -> FormatChild
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FormatChild
impl Debug for FormatChild
sourceimpl PartialEq<FormatChild> for FormatChild
impl PartialEq<FormatChild> for FormatChild
sourcefn 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 ==. Read more
impl Eq for FormatChild
impl StructuralEq for FormatChild
impl StructuralPartialEq for FormatChild
Auto Trait Implementations
impl RefUnwindSafe for FormatChild
impl Send for FormatChild
impl Sync for FormatChild
impl Unpin for FormatChild
impl UnwindSafe for FormatChild
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more