Struct gfx_hal::pso::DescriptorSetCopy
source · pub struct DescriptorSetCopy<'a, B: Backend> {
pub src_set: &'a B::DescriptorSet,
pub src_binding: DescriptorBinding,
pub src_array_offset: DescriptorArrayIndex,
pub dst_set: &'a B::DescriptorSet,
pub dst_binding: DescriptorBinding,
pub dst_array_offset: DescriptorArrayIndex,
pub count: usize,
}
Expand description
Copies a range of descriptors to be bound from one descriptor set to another Should be
provided to the copy_descriptor_sets
method of a Device
.
Fields
src_set: &'a B::DescriptorSet
src_binding: DescriptorBinding
src_array_offset: DescriptorArrayIndex
dst_set: &'a B::DescriptorSet
dst_binding: DescriptorBinding
dst_array_offset: DescriptorArrayIndex
count: usize
Trait Implementations
sourceimpl<'a, B: Clone + Backend> Clone for DescriptorSetCopy<'a, B>where
B::DescriptorSet: Clone,
B::DescriptorSet: Clone,
impl<'a, B: Clone + Backend> Clone for DescriptorSetCopy<'a, B>where
B::DescriptorSet: Clone,
B::DescriptorSet: Clone,
sourcefn clone(&self) -> DescriptorSetCopy<'a, B>
fn clone(&self) -> DescriptorSetCopy<'a, B>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a, B: Copy + Backend> Copy for DescriptorSetCopy<'a, B>where
B::DescriptorSet: Copy,
B::DescriptorSet: Copy,
Auto Trait Implementations
impl<'a, B> RefUnwindSafe for DescriptorSetCopy<'a, B>where
<B as Backend>::DescriptorSet: RefUnwindSafe,
impl<'a, B> Send for DescriptorSetCopy<'a, B>
impl<'a, B> Sync for DescriptorSetCopy<'a, B>
impl<'a, B> Unpin for DescriptorSetCopy<'a, B>
impl<'a, B> UnwindSafe for DescriptorSetCopy<'a, B>where
<B as Backend>::DescriptorSet: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more