pub struct AccelerationStructureGeometryKHRBuilder { /* private fields */ }
Expand description
A builder for a AccelerationStructureGeometryKHR
.
Implementations§
source§impl AccelerationStructureGeometryKHRBuilder
impl AccelerationStructureGeometryKHRBuilder
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
§type Target = AccelerationStructureGeometryKHR
type Target = AccelerationStructureGeometryKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AccelerationStructureGeometryKHRBuilder
impl Clone for AccelerationStructureGeometryKHRBuilder
source§fn clone(&self) -> AccelerationStructureGeometryKHRBuilder
fn clone(&self) -> AccelerationStructureGeometryKHRBuilder
Returns a copy 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 Default for AccelerationStructureGeometryKHRBuilder
impl Default for AccelerationStructureGeometryKHRBuilder
source§fn default() -> AccelerationStructureGeometryKHRBuilder
fn default() -> AccelerationStructureGeometryKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureGeometryKHRBuilder
Auto Trait Implementations§
impl Freeze for AccelerationStructureGeometryKHRBuilder
impl RefUnwindSafe for AccelerationStructureGeometryKHRBuilder
impl !Send for AccelerationStructureGeometryKHRBuilder
impl !Sync for AccelerationStructureGeometryKHRBuilder
impl Unpin for AccelerationStructureGeometryKHRBuilder
impl UnwindSafe for AccelerationStructureGeometryKHRBuilder
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