Struct ash::vk::CopyDescriptorSet
source · #[repr(C)]pub struct CopyDescriptorSet<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_set: DescriptorSet,
pub src_binding: u32,
pub src_array_element: u32,
pub dst_set: DescriptorSet,
pub dst_binding: u32,
pub dst_array_element: u32,
pub descriptor_count: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_set: DescriptorSet
§src_binding: u32
§src_array_element: u32
§dst_set: DescriptorSet
§dst_binding: u32
§dst_array_element: u32
§descriptor_count: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CopyDescriptorSet<'a>
impl<'a> CopyDescriptorSet<'a>
pub fn src_set(self, src_set: DescriptorSet) -> Self
pub fn src_binding(self, src_binding: u32) -> Self
pub fn src_array_element(self, src_array_element: u32) -> Self
pub fn dst_set(self, dst_set: DescriptorSet) -> Self
pub fn dst_binding(self, dst_binding: u32) -> Self
pub fn dst_array_element(self, dst_array_element: u32) -> Self
pub fn descriptor_count(self, descriptor_count: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for CopyDescriptorSet<'a>
impl<'a> Clone for CopyDescriptorSet<'a>
source§fn clone(&self) -> CopyDescriptorSet<'a>
fn clone(&self) -> CopyDescriptorSet<'a>
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<'a> Debug for CopyDescriptorSet<'a>
impl<'a> Debug for CopyDescriptorSet<'a>
source§impl Default for CopyDescriptorSet<'_>
impl Default for CopyDescriptorSet<'_>
source§impl<'a> TaggedStructure for CopyDescriptorSet<'a>
impl<'a> TaggedStructure for CopyDescriptorSet<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COPY_DESCRIPTOR_SET
impl<'a> Copy for CopyDescriptorSet<'a>
impl Send for CopyDescriptorSet<'_>
impl Sync for CopyDescriptorSet<'_>
Auto Trait Implementations§
impl<'a> Freeze for CopyDescriptorSet<'a>
impl<'a> RefUnwindSafe for CopyDescriptorSet<'a>
impl<'a> Unpin for CopyDescriptorSet<'a>
impl<'a> UnwindSafe for CopyDescriptorSet<'a>
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
)