Struct vulkanalia::vk::WriteDescriptorSetBuilder
source · #[repr(transparent)]pub struct WriteDescriptorSetBuilder<'b> { /* private fields */ }
Expand description
A builder for a WriteDescriptorSet
.
Implementations§
source§impl<'b> WriteDescriptorSetBuilder<'b>
impl<'b> WriteDescriptorSetBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsWriteDescriptorSet,
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_type(self, descriptor_type: DescriptorType) -> Self
pub fn image_info( self, image_info: &'b [impl Cast<Target = DescriptorImageInfo>] ) -> Self
pub fn buffer_info( self, buffer_info: &'b [impl Cast<Target = DescriptorBufferInfo>] ) -> Self
pub fn texel_buffer_view(self, texel_buffer_view: &'b [BufferView]) -> Self
pub fn build(self) -> WriteDescriptorSet
Trait Implementations§
source§impl<'b> Cast for WriteDescriptorSetBuilder<'b>
impl<'b> Cast for WriteDescriptorSetBuilder<'b>
§type Target = WriteDescriptorSet
type Target = WriteDescriptorSet
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for WriteDescriptorSetBuilder<'b>
impl<'b> Clone for WriteDescriptorSetBuilder<'b>
source§fn clone(&self) -> WriteDescriptorSetBuilder<'b>
fn clone(&self) -> WriteDescriptorSetBuilder<'b>
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<'b> Debug for WriteDescriptorSetBuilder<'b>
impl<'b> Debug for WriteDescriptorSetBuilder<'b>
source§impl<'b> Default for WriteDescriptorSetBuilder<'b>
impl<'b> Default for WriteDescriptorSetBuilder<'b>
source§fn default() -> WriteDescriptorSetBuilder<'b>
fn default() -> WriteDescriptorSetBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for WriteDescriptorSetBuilder<'b>
impl<'b> Deref for WriteDescriptorSetBuilder<'b>
source§impl<'b> DerefMut for WriteDescriptorSetBuilder<'b>
impl<'b> DerefMut for WriteDescriptorSetBuilder<'b>
impl<'b> Copy for WriteDescriptorSetBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for WriteDescriptorSetBuilder<'b>
impl<'b> !Send for WriteDescriptorSetBuilder<'b>
impl<'b> !Sync for WriteDescriptorSetBuilder<'b>
impl<'b> Unpin for WriteDescriptorSetBuilder<'b>
impl<'b> UnwindSafe for WriteDescriptorSetBuilder<'b>
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