Struct ash::vk::GeometryNVBuilder
source · [−]#[repr(transparent)]pub struct GeometryNVBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for GeometryNVBuilder<'a>
impl<'a> Deref for GeometryNVBuilder<'a>
type Target = GeometryNV
type Target = GeometryNV
The resulting type after dereferencing.
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
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