Struct ash::vk::AccelerationStructureGeometryKHRBuilder
source · [−]#[repr(transparent)]pub struct AccelerationStructureGeometryKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> AccelerationStructureGeometryKHRBuilder<'a>
pub fn geometry_type(self, geometry_type: GeometryTypeKHR) -> Self
pub fn geometry(self, geometry: AccelerationStructureGeometryDataKHR) -> Self
pub fn flags(self, flags: GeometryFlagsKHR) -> Self
sourcepub fn build(self) -> AccelerationStructureGeometryKHR
pub fn build(self) -> AccelerationStructureGeometryKHR
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 AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureGeometryKHRBuilder<'a>
type Target = AccelerationStructureGeometryKHR
type Target = AccelerationStructureGeometryKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> !Send for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> !Sync for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> Unpin for AccelerationStructureGeometryKHRBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureGeometryKHRBuilder<'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