Struct ash::vk::AccelerationStructureMotionInfoNVBuilder
source · [−]#[repr(transparent)]pub struct AccelerationStructureMotionInfoNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> AccelerationStructureMotionInfoNVBuilder<'a>
pub fn max_instances(self, max_instances: u32) -> Self
pub fn flags(self, flags: AccelerationStructureMotionInfoFlagsNV) -> Self
sourcepub fn build(self) -> AccelerationStructureMotionInfoNV
pub fn build(self) -> AccelerationStructureMotionInfoNV
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
sourceimpl<'a> Deref for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> Deref for AccelerationStructureMotionInfoNVBuilder<'a>
type Target = AccelerationStructureMotionInfoNV
type Target = AccelerationStructureMotionInfoNV
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> DerefMut for AccelerationStructureMotionInfoNVBuilder<'a>
impl ExtendsAccelerationStructureCreateInfoKHR for AccelerationStructureMotionInfoNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> !Send for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> !Sync for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> Unpin for AccelerationStructureMotionInfoNVBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureMotionInfoNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more