[][src]Enum gfx_descriptor::BufferDescriptorType

[]
pub enum BufferDescriptorType {
    Storage {
        read_only: bool,
    },
    Uniform,
}
[]

Specific type of a buffer.

Variants

Storage
[]

Storage buffers allow load, store, and atomic operations.

[]

Fields of Storage

read_only: bool

If true, store operations are not permitted on this buffer.

Uniform
[]

Uniform buffers provide constant data to be accessed in a shader.

Trait Implementations

impl Clone for BufferDescriptorType[src][+]

impl Copy for BufferDescriptorType[src]

impl Debug for BufferDescriptorType[src][+]

impl Eq for BufferDescriptorType[src]

impl Hash for BufferDescriptorType[src][+]

impl Ord for BufferDescriptorType[src][+]

impl PartialEq<BufferDescriptorType> for BufferDescriptorType[src][+]

impl PartialOrd<BufferDescriptorType> for BufferDescriptorType[src][+]

impl StructuralEq for BufferDescriptorType[src]

impl StructuralPartialEq for BufferDescriptorType[src]

Auto Trait Implementations

impl RefUnwindSafe for BufferDescriptorType

impl Send for BufferDescriptorType

impl Sync for BufferDescriptorType

impl Unpin for BufferDescriptorType

impl UnwindSafe for BufferDescriptorType

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> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<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.