[][src]Struct web_glitz::pipeline::graphics::VertexBufferSlotRef

pub struct VertexBufferSlotRef<'a> { /* fields omitted */ }

Reference to a bind slot description in a [VertexAttributeLayoutDescriptor].

See [VertexAttributeLayoutDescriptor::bind_slots].

Implementations

impl<'a> VertexBufferSlotRef<'a>[src]

pub fn stride_in_bytes(&self) -> u8[src]

Returns the stride in bytes between successive vertex entries.

pub fn input_rate(&self) -> InputRate[src]

Returns the InputRate used for this bind slot.

pub fn attributes(&self) -> VertexBufferSlotAttributes<'_>[src]

Returns an iterator over the VertexAttributeDescriptors defined on this bind slot.

Auto Trait Implementations

impl<'a> RefUnwindSafe for VertexBufferSlotRef<'a>

impl<'a> Send for VertexBufferSlotRef<'a>

impl<'a> Sync for VertexBufferSlotRef<'a>

impl<'a> Unpin for VertexBufferSlotRef<'a>

impl<'a> UnwindSafe for VertexBufferSlotRef<'a>

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<D, T> IntoBuffer<T> for D where
    D: Borrow<T> + 'static,
    T: Copy + 'static, 
[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.