[go: up one dir, main page]

Trait gfx::core::mapping::Builder []

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

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

Associated Types

Required Methods

fn map_readable<T>(&'a mut self, Self::RawMapping, usize) -> Readable<'a, T, R, Self> where Self: Factory<R>, T: Copy

fn map_writable<T>(&'a mut self, Self::RawMapping, usize) -> Writable<'a, T, R, Self> where Self: Factory<R>, T: Copy

fn map_read_write<T>(&'a mut self, Self::RawMapping, usize) -> RW<'a, T, R, Self> where Self: Factory<R>, T: Copy

Implementors