Struct ash::vk::GeometryNVBuilder
source · pub struct GeometryNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> GeometryNVBuilder<'a>
impl<'a> GeometryNVBuilder<'a>
pub fn geometry_type(self, geometry_type: GeometryTypeKHR) -> Self
pub fn geometry(self, geometry: GeometryDataNV) -> Self
pub fn flags(self, flags: GeometryFlagsKHR) -> Self
sourcepub fn build(self) -> GeometryNV
pub fn build(self) -> GeometryNV
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 GeometryNVBuilder<'a>
impl<'a> Deref for GeometryNVBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GeometryNVBuilder<'a>
impl<'a> !Send for GeometryNVBuilder<'a>
impl<'a> !Sync for GeometryNVBuilder<'a>
impl<'a> Unpin for GeometryNVBuilder<'a>
impl<'a> UnwindSafe for GeometryNVBuilder<'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