#[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: u32
§descriptor_type: DescriptorType
§descriptor_count: u32
§stage_flags: ShaderStageFlags
§p_immutable_samplers: *const Sampler
Implementations§
Source§impl DescriptorSetLayoutBinding
impl DescriptorSetLayoutBinding
pub fn builder<'a>() -> DescriptorSetLayoutBindingBuilder<'a>
Trait Implementations§
Source§impl Clone for DescriptorSetLayoutBinding
impl Clone for DescriptorSetLayoutBinding
Source§fn clone(&self) -> DescriptorSetLayoutBinding
fn clone(&self) -> DescriptorSetLayoutBinding
Returns a copy 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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)