#[repr(C)]pub struct DescriptorSetLayoutBinding {
pub binding: u32,
pub descriptor_type: DescriptorType,
pub descriptor_count: u32,
pub stage_flags: ShaderStageFlags,
pub p_immutable_samplers: *const Sampler,
}Expand description
Fields
binding: u32descriptor_type: DescriptorTypedescriptor_count: u32stage_flags: ShaderStageFlagsp_immutable_samplers: *const SamplerImplementations
sourceimpl DescriptorSetLayoutBinding
impl DescriptorSetLayoutBinding
pub fn builder<'a>() -> DescriptorSetLayoutBindingBuilder<'a>
Trait Implementations
sourceimpl Clone for DescriptorSetLayoutBinding
impl Clone for DescriptorSetLayoutBinding
sourcefn clone(&self) -> DescriptorSetLayoutBinding
fn clone(&self) -> DescriptorSetLayoutBinding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescriptorSetLayoutBinding
impl Debug for DescriptorSetLayoutBinding
sourceimpl Default for DescriptorSetLayoutBinding
impl Default for DescriptorSetLayoutBinding
sourcefn default() -> DescriptorSetLayoutBinding
fn default() -> DescriptorSetLayoutBinding
Returns the “default value” for a type. Read more
impl Copy for DescriptorSetLayoutBinding
Auto Trait Implementations
impl RefUnwindSafe for DescriptorSetLayoutBinding
impl !Send for DescriptorSetLayoutBinding
impl !Sync for DescriptorSetLayoutBinding
impl Unpin for DescriptorSetLayoutBinding
impl UnwindSafe for DescriptorSetLayoutBinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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