pub struct Tlas { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Labeled for Tlas
impl Labeled for Tlas
Source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
Source§impl ParentDevice for Tlas
impl ParentDevice for Tlas
Source§impl RawResourceAccess for Tlas
impl RawResourceAccess for Tlas
type DynResource = dyn DynAccelerationStructure
Source§fn raw<'a>(
&'a self,
guard: &'a SnatchGuard<'_>,
) -> Option<&'a Self::DynResource>
fn raw<'a>( &'a self, guard: &'a SnatchGuard<'_>, ) -> Option<&'a Self::DynResource>
Get access to the raw resource if it is not destroyed. Read more
Source§fn try_raw<'a>(
&'a self,
guard: &'a SnatchGuard<'_>,
) -> Result<&'a Self::DynResource, DestroyedResourceError>
fn try_raw<'a>( &'a self, guard: &'a SnatchGuard<'_>, ) -> Result<&'a Self::DynResource, DestroyedResourceError>
Get access to the raw resource if it is not destroyed. Read more
Auto Trait Implementations§
impl !Freeze for Tlas
impl !RefUnwindSafe for Tlas
impl !UnwindSafe for Tlas
impl Forget for Tlas
impl Move for Tlas
impl Send for Tlaswhere
BoxRaw<dyn DynAccelerationStructure>: Send,
BoxRaw<dyn DynBuffer>: Send,
Arc<Device>: Send,
InternalBitFlags: Send,
RwLock<RawRwLock, Option<NonZero<u64>>>: Send,
InternalBitFlags: Send,
RwLock<RawRwLock, Vec<Arc<Blas>>>: Send,
RwLock<RawRwLock, Option<u32>>: Send,
RawVecInner: Send,
Arc<SharedTrackerIndexAllocator>: Send,
RwLock<RawRwLock, Vec<TlasIntersectionType>>: Send,
impl Sync for Tlaswhere
SnatchableInner<Option<Box<dyn DynAccelerationStructure>>>: Sync,
BoxRaw<dyn DynBuffer>: Sync,
Arc<Device>: Sync,
InternalBitFlags: Sync,
RwLock<RawRwLock, Option<NonZero<u64>>>: Sync,
InternalBitFlags: Sync,
RwLock<RawRwLock, Vec<Arc<Blas>>>: Sync,
RwLock<RawRwLock, Option<u32>>: Sync,
RawVecInner: Sync,
Arc<SharedTrackerIndexAllocator>: Sync,
RwLock<RawRwLock, Vec<TlasIntersectionType>>: Sync,
impl Unpin for Tlas
impl UnsafeUnpin for Tlaswhere
*const dyn DynAccelerationStructure is !null: UnsafeUnpin,
PhantomData<dyn DynAccelerationStructure>: UnsafeUnpin,
*const dyn DynBuffer is !null: UnsafeUnpin,
PhantomData<dyn DynBuffer>: UnsafeUnpin,
*const ArcInner<Device> is !null: UnsafeUnpin,
PhantomData<ArcInner<Device>>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
Align8<usize>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Arc<Blas>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<SharedTrackerIndexAllocator> is !null: UnsafeUnpin,
PhantomData<ArcInner<SharedTrackerIndexAllocator>>: UnsafeUnpin,
PhantomData<TlasIntersectionType>: UnsafeUnpin,
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