Trait gfx_core::mapping::Builder [] [src]

pub trait Builder<'a, R: Resources> {
    type RawMapping: Raw;
    fn map_readable<T: Copy>(
        &'a mut self,
        _: Self::RawMapping,
        _: usize
    ) -> Readable<T, R, Self>
    where
        Self: Sized + Factory<R>
;
fn map_writable<T: Copy>(
        &'a mut self,
        _: Self::RawMapping,
        _: usize
    ) -> Writable<T, R, Self>
    where
        Self: Sized + Factory<R>
;
fn map_read_write<T: Copy>(
        &'a mut self,
        _: Self::RawMapping,
        _: usize
    ) -> RW<T, R, Self>
    where
        Self: Sized + Factory<R>
; }

A service trait with methods for mapping already implemented. To be used by device back ends.

Associated Types

Required Methods

Implementors