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, GenericBackendHandle<M>>

source§

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

Implementors§