[go: up one dir, main page]

Struct gfx::core::mapping::Writable []

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

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

Methods

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

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

Set a value in the buffer

Trait Implementations

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

fn drop(&mut self)