#[non_exhaustive]pub enum FormatChild {
#[non_exhaustive] Component {
name: String,
bits: String,
numericFormat: String,
planeIndex: Option<u8>,
},
#[non_exhaustive] Plane {
index: u8,
widthDivisor: u8,
heightDivisor: u8,
compatible: String,
},
#[non_exhaustive] 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.
#[non_exhaustive]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.
#[non_exhaustive]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.
#[non_exhaustive]SpirvImageFormat
Trait Implementations§
Source§impl Clone for FormatChild
impl Clone for FormatChild
Source§fn clone(&self) -> FormatChild
fn clone(&self) -> FormatChild
Returns a duplicate 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 for FormatChild
impl PartialEq for FormatChild
impl Eq for FormatChild
impl StructuralPartialEq for FormatChild
Auto Trait Implementations§
impl Freeze for FormatChild
impl RefUnwindSafe for FormatChild
impl Send for FormatChild
impl Sync for FormatChild
impl Unpin for FormatChild
impl UnwindSafe for FormatChild
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more