Enum gbm_sys::gbm_bo_transfer_flags [] [src]

#[repr(u32)]
pub enum gbm_bo_transfer_flags { GBM_BO_TRANSFER_READ, GBM_BO_TRANSFER_WRITE, GBM_BO_TRANSFER_READ_WRITE, }

Flags to indicate the type of mapping for the buffer - these are passed into gbm_bo_map(). The caller must set the union of all the flags that are appropriate.

These flags are independent of the GBM_BO_USE_* creation flags. However, mapping the buffer may require copying to/from a staging buffer.

See also: pipe_transfer_usage

Variants

Trait Implementations

impl Debug for gbm_bo_transfer_flags
[src]

[src]

Formats the value using the given formatter.

impl Copy for gbm_bo_transfer_flags
[src]

impl Clone for gbm_bo_transfer_flags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for gbm_bo_transfer_flags
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for gbm_bo_transfer_flags
[src]

impl Hash for gbm_bo_transfer_flags
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more