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> Freeze for GeometryNVBuilder<'a>
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