#[repr(transparent)]pub struct DescriptorType(pub u32);Expand description
These are bit-exact with ash and the Vulkan specification, they’re mirrored here to prevent a dependency on ash
Tuple Fields§
§0: u32Implementations§
Source§impl DescriptorType
impl DescriptorType
pub const SAMPLER: Self
pub const COMBINED_IMAGE_SAMPLER: Self
pub const SAMPLED_IMAGE: Self
pub const STORAGE_IMAGE: Self
pub const UNIFORM_TEXEL_BUFFER: Self
pub const STORAGE_TEXEL_BUFFER: Self
pub const UNIFORM_BUFFER: Self
pub const STORAGE_BUFFER: Self
pub const UNIFORM_BUFFER_DYNAMIC: Self
pub const STORAGE_BUFFER_DYNAMIC: Self
pub const INPUT_ATTACHMENT: Self
pub const INLINE_UNIFORM_BLOCK_EXT: Self
pub const ACCELERATION_STRUCTURE_KHR: Self
pub const ACCELERATION_STRUCTURE_NV: Self
Trait Implementations§
Source§impl Clone for DescriptorType
impl Clone for DescriptorType
Source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 DescriptorType
impl Debug for DescriptorType
Source§impl PartialEq for DescriptorType
impl PartialEq for DescriptorType
impl Copy for DescriptorType
impl Eq for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations§
impl Freeze for DescriptorType
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnwindSafe for DescriptorType
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