[][src]Struct qt_gui::q_opengl_buffer::Access

#[repr(transparent)]
pub struct Access(_);

This enum defines the access mode for QOpenGLBuffer::map().

C++ enum: QOpenGLBuffer::Access.

C++ documentation:

This enum defines the access mode for QOpenGLBuffer::map().

Methods

impl Access[src]

pub fn to_int(&self) -> c_int[src]

impl Access[src]

pub const ReadOnly: Access[src]

The buffer will be mapped for reading only. (C++ enum variant: ReadOnly = 35000)

pub const WriteOnly: Access[src]

The buffer will be mapped for writing only. (C++ enum variant: WriteOnly = 35001)

pub const ReadWrite: Access[src]

The buffer will be mapped for reading and writing. (C++ enum variant: ReadWrite = 35002)

Trait Implementations

impl Clone for Access[src]

impl Copy for Access[src]

impl Debug for Access[src]

impl Eq for Access[src]

impl From<Access> for c_int[src]

impl From<i32> for Access[src]

impl PartialEq<Access> for Access[src]

impl StructuralEq for Access[src]

impl StructuralPartialEq for Access[src]

Auto Trait Implementations

impl RefUnwindSafe for Access

impl Send for Access

impl Sync for Access

impl Unpin for Access

impl UnwindSafe for Access

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.