pub struct CopyDescriptorSetBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CopyDescriptorSetBuilder<'a>
impl<'a> CopyDescriptorSetBuilder<'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
Sourcepub fn build(self) -> CopyDescriptorSet
pub fn build(self) -> CopyDescriptorSet
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for CopyDescriptorSetBuilder<'a>
impl<'a> Deref for CopyDescriptorSetBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CopyDescriptorSetBuilder<'a>
impl<'a> RefUnwindSafe for CopyDescriptorSetBuilder<'a>
impl<'a> !Send for CopyDescriptorSetBuilder<'a>
impl<'a> !Sync for CopyDescriptorSetBuilder<'a>
impl<'a> Unpin for CopyDescriptorSetBuilder<'a>
impl<'a> UnwindSafe for CopyDescriptorSetBuilder<'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