#[non_exhaustive]pub enum Type {
Show 24 variants
Unknown,
Void,
Boolean {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Char {
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Int {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
UInt {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Int64 {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
UInt64 {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
AtomicCounter {
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Half {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Float {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Double {
vecsize: u32,
columns: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Struct {
member_types: Vec<u32>,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Image {
array: Vec<u32>,
array_size_literal: Vec<bool>,
image: ImageType,
},
SampledImage {
array: Vec<u32>,
array_size_literal: Vec<bool>,
image: ImageType,
},
Sampler {
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
SByte {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
UByte {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
Short {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
UShort {
vecsize: u32,
array: Vec<u32>,
array_size_literal: Vec<bool>,
},
ControlPointArray,
AccelerationStructure,
RayQuery,
Interpolant,
}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.
Unknown
Void
Boolean
Char
Int
UInt
Int64
UInt64
AtomicCounter
Half
Float
Double
Struct
Image
SampledImage
Sampler
SByte
UByte
Short
UShort
ControlPointArray
AccelerationStructure
RayQuery
Interpolant
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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