[][src]Struct luminance::pipeline::BufferBinding

pub struct BufferBinding<T> { /* fields omitted */ }

Opaque buffer binding.

This type represents a bound Buffer via BoundBuffer. It can be used along with a Uniform to customize a shader’s behavior.

Parametricity

  • T is the type of the carried item by the Buffer.

Notes

You shouldn’t try to do store / cache or do anything special with that value. Consider it an opaque object.

Implementations

impl<T> BufferBinding<T>[src]

pub fn binding(self) -> u32[src]

Access the underlying binding value.

Notes

That value shouldn’t be read nor store, as it’s only meaningful for backend implementations.

Trait Implementations

impl<T: Debug> Debug for BufferBinding<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for BufferBinding<T> where
    T: RefUnwindSafe

impl<T> !Send for BufferBinding<T>

impl<T> !Sync for BufferBinding<T>

impl<T> Unpin for BufferBinding<T>

impl<T> UnwindSafe for BufferBinding<T> where
    T: RefUnwindSafe

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, 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.