[][src]Struct filum::BufferViewBuilder

pub struct BufferViewBuilder<'a, LayoutType> { /* fields omitted */ }

Methods

impl<'a> BufferViewBuilder<'a, ()>[src]

pub fn new(context: &'a Arc<Context>) -> Self[src]

impl<'a> BufferViewBuilder<'a, ()>[src]

pub fn layout<LayoutType>(
    self,
    layout: LayoutType
) -> BufferViewBuilder<'a, LayoutType>
[src]

pub fn bind_array<ItemType>(
    self,
    count: usize
) -> BufferViewBuilder<'a, BufferLayout<BindingVariant<BindingArray<ItemType>>>>
[src]

pub fn bind_value<ValueType>(
    self
) -> BufferViewBuilder<'a, BufferLayout<BindingVariant<BindingValue<ValueType>>>>
[src]

impl<'a, T0, T1, T2, T3> BufferViewBuilder<'a, BufferLayout<T0, T1, T2, T3>>[src]

pub fn build(self) -> Result<Arc<BufferView<BufferLayout<T0, T1, T2, T3>>>>[src]

Auto Trait Implementations

impl<'a, LayoutType> RefUnwindSafe for BufferViewBuilder<'a, LayoutType> where
    LayoutType: RefUnwindSafe

impl<'a, LayoutType> !Send for BufferViewBuilder<'a, LayoutType>

impl<'a, LayoutType> !Sync for BufferViewBuilder<'a, LayoutType>

impl<'a, LayoutType> Unpin for BufferViewBuilder<'a, LayoutType> where
    LayoutType: Unpin

impl<'a, LayoutType> UnwindSafe for BufferViewBuilder<'a, LayoutType> where
    LayoutType: UnwindSafe

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.