Trait DynHandle

Source
pub trait DynHandle {
    // Required method
    fn dyn_mappable_handle<'a>(&'a self) -> Result<Box<dyn MappableHandle + 'a>>;
}

Required Methods§

Source

fn dyn_mappable_handle<'a>(&'a self) -> Result<Box<dyn MappableHandle + 'a>>

Gets an CPU mapping to the memory backing the handle. Assumes that this picture is backed by a handle and panics if not the case.

Implementations on Foreign Types§

Source§

impl<'a, M: SurfaceMemoryDescriptor> DynHandle for Ref<'a, VaapiDecodedHandle<M>>

Source§

fn dyn_mappable_handle<'b>(&'b self) -> Result<Box<dyn MappableHandle + 'b>>

Implementors§