Struct spirv_cross2::reflect::ImageType
source · pub struct ImageType {
pub id: Handle<TypeId>,
pub sampled_type: Handle<TypeId>,
pub dimension: Dim,
pub class: ImageClass,
}Expand description
Type definition for an image or texture handle.
Fields§
§id: Handle<TypeId>The id of the type.
sampled_type: Handle<TypeId>The id of the type returned when the image is sampled or read from.
dimension: DimThe dimension of the image.
class: ImageClassThe class of the image.
Trait Implementations§
impl Eq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl Freeze for ImageType
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)