Back to Eqiora docs Skip to main content

DeviceBuffer

Trait DeviceBuffer 

pub trait DeviceBuffer<T>:
    Debug
    + Send
    + Sync
where T: DeviceElement,
{ // Required method fn descriptor(&self) -> DeviceBufferDescriptor<T>; }
Description

A typed device allocation, implemented by a concrete adapter.

Required Methods§

fn descriptor(&self) -> DeviceBufferDescriptor<T>

Eqiora descriptor of the allocation. Vendor pointers are never exposed.

Implementors§