Struct gfx::device::mapping::Writable [] [src]

pub struct Writable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where F: 'a {
    // some fields omitted
}

A handle to a writable map, which only allows setting elements.

Methods

impl<'a, T: Copy, R: Resources, F: Factory<R>> Writable<'a, T, R, F> where F: 'a

fn set(&mut self, idx: usize, val: T)

Set a value in the buffer

Trait Implementations

impl<'a, T: Copy, R: Resources, F: Factory<R>> Drop for Writable<'a, T, R, F> where F: 'a

fn drop(&mut self)