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.