#[repr(C)]pub struct DescriptorSetLayoutBinding {
pub binding: u32,
pub descriptorType: DescriptorType,
pub descriptorCount: u32,
pub stageFlags: ShaderStageFlags,
pub pImmutableSamplers: *const Sampler,
}Fields§
§binding: u32§descriptorType: DescriptorType§descriptorCount: u32§stageFlags: ShaderStageFlags§pImmutableSamplers: *const SamplerImplementations§
Source§impl DescriptorSetLayoutBinding
impl DescriptorSetLayoutBinding
pub fn new() -> Self
pub fn binding(self, binding: u32) -> Self
pub fn descriptorType(self, descriptorType: DescriptorType) -> Self
pub fn descriptorCount(self, descriptorCount: u32) -> Self
pub fn stageFlags(self, stageFlags: ShaderStageFlags) -> Self
pub fn pImmutableSamplers(self, pImmutableSamplers: *const Sampler) -> Self
Trait Implementations§
Source§impl Clone for DescriptorSetLayoutBinding
impl Clone for DescriptorSetLayoutBinding
Source§fn clone(&self) -> DescriptorSetLayoutBinding
fn clone(&self) -> DescriptorSetLayoutBinding
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 DescriptorSetLayoutBinding
impl Debug for DescriptorSetLayoutBinding
Source§impl Default for DescriptorSetLayoutBinding
impl Default for DescriptorSetLayoutBinding
Source§fn default() -> DescriptorSetLayoutBinding
fn default() -> DescriptorSetLayoutBinding
Returns the “default value” for a type. Read more
impl Copy for DescriptorSetLayoutBinding
Auto Trait Implementations§
impl Freeze for DescriptorSetLayoutBinding
impl RefUnwindSafe for DescriptorSetLayoutBinding
impl !Send for DescriptorSetLayoutBinding
impl !Sync for DescriptorSetLayoutBinding
impl Unpin for DescriptorSetLayoutBinding
impl UnwindSafe for DescriptorSetLayoutBinding
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