Struct nannou::ui::backend::glium::glium::buffer::WriteMapping[][src]

pub struct WriteMapping<'b, D> where
    D: Content + ?Sized
{ /* fields omitted */ }

A mapping of a buffer for write only.

Methods

impl<'b, D> WriteMapping<'b, D> where
    D: Content + Copy
[src]

Writes the whole content.

impl<'b, D> WriteMapping<'b, [D]> where
    D: Copy,
    [D]: Content
[src]

Returns the length of the mapping.

Changes an element of the mapping.

Panic

Panics if out of range.

Auto Trait Implementations

impl<'b, D> !Send for WriteMapping<'b, D>

impl<'b, D: ?Sized> Sync for WriteMapping<'b, D> where
    D: Send + Sync