pub struct GeometryDataNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> GeometryDataNVBuilder<'a>
impl<'a> GeometryDataNVBuilder<'a>
pub fn triangles(self, triangles: GeometryTrianglesNV) -> Self
pub fn aabbs(self, aabbs: GeometryAABBNV) -> Self
Sourcepub fn build(self) -> GeometryDataNV
pub fn build(self) -> GeometryDataNV
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 GeometryDataNVBuilder<'a>
impl<'a> Deref for GeometryDataNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for GeometryDataNVBuilder<'a>
impl<'a> RefUnwindSafe for GeometryDataNVBuilder<'a>
impl<'a> !Send for GeometryDataNVBuilder<'a>
impl<'a> !Sync for GeometryDataNVBuilder<'a>
impl<'a> Unpin for GeometryDataNVBuilder<'a>
impl<'a> UnwindSafe for GeometryDataNVBuilder<'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