Struct vulkano::descriptor_set::CopyDescriptorSet
source · pub struct CopyDescriptorSet {
pub src_set: Arc<dyn DescriptorSet>,
pub src_binding: u32,
pub src_first_array_element: u32,
pub dst_binding: u32,
pub dst_first_array_element: u32,
pub descriptor_count: u32,
pub _ne: NonExhaustive,
}
Expand description
Represents a single copy operation to the binding of a descriptor set.
Fields§
§src_set: Arc<dyn DescriptorSet>
The source descriptor set to copy from.
There is no default value.
src_binding: u32
The binding number in the source descriptor set to copy from.
The default value is 0.
src_first_array_element: u32
The first array element in the source descriptor set to copy from.
The default value is 0.
dst_binding: u32
The binding number in the destination descriptor set to copy into.
The default value is 0.
dst_first_array_element: u32
The first array element in the destination descriptor set to copy into.
descriptor_count: u32
The number of descriptors (array elements) to copy.
The default value is 1.
_ne: NonExhaustive
Implementations§
source§impl CopyDescriptorSet
impl CopyDescriptorSet
sourcepub fn new(src_set: Arc<dyn DescriptorSet>) -> Self
pub fn new(src_set: Arc<dyn DescriptorSet>) -> Self
Returns a CopyDescriptorSet
with the specified src_set
.
Trait Implementations§
source§impl Clone for CopyDescriptorSet
impl Clone for CopyDescriptorSet
source§fn clone(&self) -> CopyDescriptorSet
fn clone(&self) -> CopyDescriptorSet
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CopyDescriptorSet
impl Send for CopyDescriptorSet
impl Sync for CopyDescriptorSet
impl Unpin for CopyDescriptorSet
impl !UnwindSafe for CopyDescriptorSet
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