#[repr(C)]pub struct DescriptorSetLayoutBinding {
pub binding: u32,
pub descriptor_type: DescriptorType,
pub descriptor_count: u32,
pub stage_flags: ShaderStageFlags,
pub immutable_samplers: *const Sampler,
}Expand description
Fields§
§binding: u32§descriptor_type: DescriptorType§descriptor_count: u32§stage_flags: ShaderStageFlags§immutable_samplers: *const SamplerTrait Implementations§
Source§impl Cast for DescriptorSetLayoutBinding
impl Cast for DescriptorSetLayoutBinding
Source§type Target = DescriptorSetLayoutBinding
type Target = DescriptorSetLayoutBinding
The other type this type can be used interchangeably with in FFI.
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 (const: unstable) · 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
Source§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 Eq for DescriptorSetLayoutBinding
Source§impl<'b> HasBuilder<'b> for DescriptorSetLayoutBinding
impl<'b> HasBuilder<'b> for DescriptorSetLayoutBinding
Source§impl Hash for DescriptorSetLayoutBinding
impl Hash for DescriptorSetLayoutBinding
Source§impl PartialEq for DescriptorSetLayoutBinding
impl PartialEq for DescriptorSetLayoutBinding
Source§fn eq(&self, other: &DescriptorSetLayoutBinding) -> bool
fn eq(&self, other: &DescriptorSetLayoutBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Send for DescriptorSetLayoutBinding
impl StructuralPartialEq for DescriptorSetLayoutBinding
impl Sync for DescriptorSetLayoutBinding
Auto Trait Implementations§
impl Freeze for DescriptorSetLayoutBinding
impl RefUnwindSafe for DescriptorSetLayoutBinding
impl Unpin for DescriptorSetLayoutBinding
impl UnsafeUnpin 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