Struct ash::vk::CopyAccelerationStructureInfoKHRBuilder
source · pub struct CopyAccelerationStructureInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> CopyAccelerationStructureInfoKHRBuilder<'a>
pub fn src(self, src: AccelerationStructureKHR) -> Self
pub fn dst(self, dst: AccelerationStructureKHR) -> Self
pub fn mode(self, mode: CopyAccelerationStructureModeKHR) -> Self
sourcepub fn build(self) -> CopyAccelerationStructureInfoKHR
pub fn build(self) -> CopyAccelerationStructureInfoKHR
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 CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> Deref for CopyAccelerationStructureInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> !Send for CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> !Sync for CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> Unpin for CopyAccelerationStructureInfoKHRBuilder<'a>
impl<'a> UnwindSafe for CopyAccelerationStructureInfoKHRBuilder<'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