Enum gfx::device::MapAccess [] [src]

pub enum MapAccess {
    Readable,
    Writable,
    RW,
}

Specifies the access allowed to a buffer mapping.

Variants

Readable

Only allow reads.

Writable

Only allow writes.

RW

Allow full access.

Trait Implementations

Derived Implementations

impl Clone for MapAccess

fn clone(&self) -> MapAccess

fn clone_from(&mut self, source: &Self)

impl Copy for MapAccess