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
GBM_BO_TRANSFER_READ
GBM_BO_TRANSFER_WRITE
GBM_BO_TRANSFER_READ_WRITE
Trait Implementations
impl Debug for gbm_bo_transfer_flags
[src]
impl Copy for gbm_bo_transfer_flags
[src]
impl Clone for gbm_bo_transfer_flags
[src]
fn clone(&self) -> gbm_bo_transfer_flags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for gbm_bo_transfer_flags
[src]
fn eq(&self, __arg_0: &gbm_bo_transfer_flags) -> bool
[src]
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[src]
This method tests for !=
.