pub unsafe trait Backend:
Sized
+ Allocator
+ DeviceMemory
+ Clone
+ Debug
+ Send
+ Sync
+ 'static {
// Provided method
fn copy_from<B, T>(&self, data: T) -> Result<T::Output, CopyError>
where B: Backend,
T: HasBackend + CopyIntoBackend<Self, B> { ... }
}Expand description
§Safety
TODO
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".