Struct ash::vk::DescriptorBufferInfoBuilder
source · pub struct DescriptorBufferInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DescriptorBufferInfoBuilder<'a>
impl<'a> DescriptorBufferInfoBuilder<'a>
pub fn buffer(self, buffer: Buffer) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn range(self, range: DeviceSize) -> Self
sourcepub fn build(self) -> DescriptorBufferInfo
pub fn build(self) -> DescriptorBufferInfo
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 DescriptorBufferInfoBuilder<'a>
impl<'a> Deref for DescriptorBufferInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorBufferInfoBuilder<'a>
impl<'a> RefUnwindSafe for DescriptorBufferInfoBuilder<'a>
impl<'a> Send for DescriptorBufferInfoBuilder<'a>
impl<'a> Sync for DescriptorBufferInfoBuilder<'a>
impl<'a> Unpin for DescriptorBufferInfoBuilder<'a>
impl<'a> UnwindSafe for DescriptorBufferInfoBuilder<'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