pub enum ImageType {
D1 {
width: u32,
layers: u32,
},
D2 {
width: u32,
height: u32,
layers: u32,
samples: u32,
},
D3 {
width: u32,
height: u32,
depth: u32,
},
}
Expand description
Image dimensionality type.
Layer, as in arrays or cube maps, don’t affect the dimensionality type.
Variants
D1
D2
D3
Auto Trait Implementations
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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