Skip to main content

UsmAlloc

Trait UsmAlloc 

Source
pub unsafe trait UsmAlloc: Allocator { }
Expand description

A marker trait for USM allocators.

§Safety

A type implementing this trait must be a valid USM allocator managed by a SYCL runtime.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§