pub struct BufferViewCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> BufferViewCreateInfoBuilder<'a>
impl<'a> BufferViewCreateInfoBuilder<'a>
pub fn flags(self, flags: BufferViewCreateFlags) -> Self
pub fn buffer(self, buffer: Buffer) -> Self
pub fn format(self, format: Format) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn range(self, range: DeviceSize) -> Self
Sourcepub fn build(self) -> BufferViewCreateInfo
pub fn build(self) -> BufferViewCreateInfo
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 BufferViewCreateInfoBuilder<'a>
impl<'a> Deref for BufferViewCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for BufferViewCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for BufferViewCreateInfoBuilder<'a>
impl<'a> !Send for BufferViewCreateInfoBuilder<'a>
impl<'a> !Sync for BufferViewCreateInfoBuilder<'a>
impl<'a> Unpin for BufferViewCreateInfoBuilder<'a>
impl<'a> UnwindSafe for BufferViewCreateInfoBuilder<'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