pub struct AccelerationStructureGeometryKHRBuilder<'b> { /* private fields */ }Expand description
A builder for a AccelerationStructureGeometryKHR.
Implementations§
Source§impl<'b> AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> AccelerationStructureGeometryKHRBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsAccelerationStructureGeometryKHR,
pub fn geometry_type(self, geometry_type: GeometryTypeKHR) -> Self
pub fn geometry(self, geometry: AccelerationStructureGeometryDataKHR) -> Self
pub fn flags(self, flags: GeometryFlagsKHR) -> Self
pub fn build(self) -> AccelerationStructureGeometryKHR
Trait Implementations§
Source§impl Cast for AccelerationStructureGeometryKHRBuilder<'_>
impl Cast for AccelerationStructureGeometryKHRBuilder<'_>
Source§type Target = AccelerationStructureGeometryKHR
type Target = AccelerationStructureGeometryKHR
The other type this type can be used interchangeably with in FFI.
Source§impl<'b> Clone for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Clone for AccelerationStructureGeometryKHRBuilder<'b>
Source§fn clone(&self) -> AccelerationStructureGeometryKHRBuilder<'b>
fn clone(&self) -> AccelerationStructureGeometryKHRBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'b> Debug for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Debug for AccelerationStructureGeometryKHRBuilder<'b>
Source§impl<'b> Default for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Default for AccelerationStructureGeometryKHRBuilder<'b>
Source§fn default() -> AccelerationStructureGeometryKHRBuilder<'b>
fn default() -> AccelerationStructureGeometryKHRBuilder<'b>
Returns the “default value” for a type. Read more
Source§impl Deref for AccelerationStructureGeometryKHRBuilder<'_>
impl Deref for AccelerationStructureGeometryKHRBuilder<'_>
Source§impl DerefMut for AccelerationStructureGeometryKHRBuilder<'_>
impl DerefMut for AccelerationStructureGeometryKHRBuilder<'_>
impl<'b> Copy for AccelerationStructureGeometryKHRBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> RefUnwindSafe for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Send for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Sync for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> Unpin for AccelerationStructureGeometryKHRBuilder<'b>
impl<'b> UnwindSafe for AccelerationStructureGeometryKHRBuilder<'b>
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