pub struct AccelerationStructureMemoryRequirementsInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
pub fn ty( self, ty: AccelerationStructureMemoryRequirementsTypeNV ) -> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
pub fn acceleration_structure( self, acceleration_structure: AccelerationStructureNV ) -> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
sourcepub fn build(self) -> AccelerationStructureMemoryRequirementsInfoNV
pub fn build(self) -> AccelerationStructureMemoryRequirementsInfoNV
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 AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> Deref for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
§type Target = AccelerationStructureMemoryRequirementsInfoNV
type Target = AccelerationStructureMemoryRequirementsInfoNV
The resulting type after dereferencing.
source§impl<'a> DerefMut for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> DerefMut for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> !Send for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> !Sync for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> Unpin for AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureMemoryRequirementsInfoNVBuilder<'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