#[repr(transparent)]pub struct AccelerationStructureInstanceDescriptorType(pub UInteger);Expand description
Acceleration structure instance descriptor type.
C++ equivalent: MTL::AccelerationStructureInstanceDescriptorType
Tuple Fields§
§0: UIntegerImplementations§
Trait Implementations§
Source§impl Clone for AccelerationStructureInstanceDescriptorType
impl Clone for AccelerationStructureInstanceDescriptorType
Source§fn clone(&self) -> AccelerationStructureInstanceDescriptorType
fn clone(&self) -> AccelerationStructureInstanceDescriptorType
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 Default for AccelerationStructureInstanceDescriptorType
impl Default for AccelerationStructureInstanceDescriptorType
Source§fn default() -> AccelerationStructureInstanceDescriptorType
fn default() -> AccelerationStructureInstanceDescriptorType
Returns the “default value” for a type. Read more
Source§impl PartialEq for AccelerationStructureInstanceDescriptorType
impl PartialEq for AccelerationStructureInstanceDescriptorType
Source§fn eq(&self, other: &AccelerationStructureInstanceDescriptorType) -> bool
fn eq(&self, other: &AccelerationStructureInstanceDescriptorType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AccelerationStructureInstanceDescriptorType
impl Eq for AccelerationStructureInstanceDescriptorType
impl StructuralPartialEq for AccelerationStructureInstanceDescriptorType
Auto Trait Implementations§
impl Freeze for AccelerationStructureInstanceDescriptorType
impl RefUnwindSafe for AccelerationStructureInstanceDescriptorType
impl Send for AccelerationStructureInstanceDescriptorType
impl Sync for AccelerationStructureInstanceDescriptorType
impl Unpin for AccelerationStructureInstanceDescriptorType
impl UnwindSafe for AccelerationStructureInstanceDescriptorType
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