Enum gfx::MapAccess []

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

impl Debug for MapAccess

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Clone for MapAccess

fn clone(&self) -> MapAccess

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for MapAccess

impl Hash for MapAccess

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl PartialOrd<MapAccess> for MapAccess

fn partial_cmp(&self, __arg_0: &MapAccess) -> Option<Ordering>

impl PartialEq<MapAccess> for MapAccess

fn eq(&self, __arg_0: &MapAccess) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Ord for MapAccess

fn cmp(&self, __arg_0: &MapAccess) -> Ordering

impl Eq for MapAccess