Struct ash::vk::PhysicalDeviceExternalBufferInfoBuilder
source · pub struct PhysicalDeviceExternalBufferInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> PhysicalDeviceExternalBufferInfoBuilder<'a>
pub fn flags(self, flags: BufferCreateFlags) -> Self
pub fn usage(self, usage: BufferUsageFlags) -> Self
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
sourcepub fn build(self) -> PhysicalDeviceExternalBufferInfo
pub fn build(self) -> PhysicalDeviceExternalBufferInfo
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 PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> Deref for PhysicalDeviceExternalBufferInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> !Send for PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> !Sync for PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> Unpin for PhysicalDeviceExternalBufferInfoBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceExternalBufferInfoBuilder<'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