pub trait AsDmabuf { type Error; fn export(&self) -> Result<Dmabuf, Self::Error>; }
Buffer that can be exported as Dmabufs
type Error
Error type returned, if exporting fails
fn export(&self) -> Result<Dmabuf, Self::Error>
Export this buffer as a new Dmabuf
impl AsDmabuf for Dmabuf
impl<T> AsDmabuf for GbmBuffer<T>