Struct wgpu_core::track::stateless::StatelessTracker
source · pub(crate) struct StatelessTracker<T> {
resources: Vec<Arc<T>>,
}
Expand description
A tracker that holds strong references to resources.
This is only used to keep resources alive.
Fields§
§resources: Vec<Arc<T>>
Implementations§
source§impl<T> StatelessTracker<T>
impl<T> StatelessTracker<T>
Trait Implementations§
source§impl<T: Debug> Debug for StatelessTracker<T>
impl<T: Debug> Debug for StatelessTracker<T>
source§impl<'a, T> IntoIterator for &'a StatelessTracker<T>
impl<'a, T> IntoIterator for &'a StatelessTracker<T>
Auto Trait Implementations§
impl<T> Freeze for StatelessTracker<T>
impl<T> RefUnwindSafe for StatelessTracker<T>where
T: RefUnwindSafe,
impl<T> Send for StatelessTracker<T>
impl<T> Sync for StatelessTracker<T>
impl<T> Unpin for StatelessTracker<T>
impl<T> UnwindSafe for StatelessTracker<T>where
T: RefUnwindSafe,
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