#[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 SamplerTrait 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 moreimpl 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