Type Alias wgpu_hal::DropGuard

source ·
pub type DropGuard = Box<dyn Any + Send + Sync>;
Expand description

Drop guard to signal wgpu-hal is no longer using an externally created object.

Aliased Type§

struct DropGuard(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.