enum ResourceType {
Buffer {
size: BufferSize,
},
Texture {
dim: ImageDimension,
arrayed: bool,
class: ImageClass,
},
Sampler {
comparison: bool,
},
AccelerationStructure,
}
Variants§
Trait Implementations§
source§impl Debug for ResourceType
impl Debug for ResourceType
source§impl From<&ResourceType> for BindingTypeName
impl From<&ResourceType> for BindingTypeName
source§fn from(ty: &ResourceType) -> BindingTypeName
fn from(ty: &ResourceType) -> BindingTypeName
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
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