#[non_exhaustive]#[repr(i32)]pub enum AccelerationStructureBuildType {
Host = 0,
Device = 1,
HostOrDevice = 2,
}
Expand description
Where the building of an acceleration structure will take place.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Host = 0
Building will take place on the host.
Device = 1
Building will take place on the device.
HostOrDevice = 2
Building will take place on either the host or the device.
Trait Implementations§
source§impl Clone for AccelerationStructureBuildType
impl Clone for AccelerationStructureBuildType
source§fn clone(&self) -> AccelerationStructureBuildType
fn clone(&self) -> AccelerationStructureBuildType
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 From<AccelerationStructureBuildType> for AccelerationStructureBuildTypeKHR
impl From<AccelerationStructureBuildType> for AccelerationStructureBuildTypeKHR
source§fn from(val: AccelerationStructureBuildType) -> Self
fn from(val: AccelerationStructureBuildType) -> Self
Converts to this type from the input type.
source§impl PartialEq for AccelerationStructureBuildType
impl PartialEq for AccelerationStructureBuildType
source§fn eq(&self, other: &AccelerationStructureBuildType) -> bool
fn eq(&self, other: &AccelerationStructureBuildType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccelerationStructureBuildType
impl Eq for AccelerationStructureBuildType
impl StructuralEq for AccelerationStructureBuildType
impl StructuralPartialEq for AccelerationStructureBuildType
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureBuildType
impl Send for AccelerationStructureBuildType
impl Sync for AccelerationStructureBuildType
impl Unpin for AccelerationStructureBuildType
impl UnwindSafe for AccelerationStructureBuildType
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