[][src]Struct filum::BufferBindingView

pub struct BufferBindingView<VariantType = ()> { /* fields omitted */ }

Methods

impl<VariantType> BufferBindingView<VariantType>[src]

pub fn new(region_index: usize, buffer: &Arc<Buffer>) -> Arc<Self>[src]

impl<ValueType> BufferBindingView<BindingValue<ValueType>>[src]

pub fn update_value(&self, access: impl FnOnce(&mut ValueType))[src]

pub fn fetch_value(&self, access: impl FnOnce(&ValueType))[src]

impl<ItemType> BufferBindingView<BindingArray<ItemType>>[src]

pub fn update_array(&self, access: impl FnOnce(&mut [ItemType]))[src]

pub fn fetch_array(&self, access: impl FnOnce(&[ItemType]))[src]

impl<ItemType> BufferBindingView<BindingArray<ItemType>> where
    ItemType: Copy
[src]

impl BufferBindingView<()>[src]

pub fn update_value<ValueType>(&self, access: impl FnOnce(&mut ValueType))[src]

pub fn fetch_value<ValueType>(&self, access: impl FnOnce(&ValueType))[src]

pub fn update_array<ItemType>(&self, access: impl FnOnce(&mut [ItemType]))[src]

pub fn fetch_array<ItemType>(&self, access: impl FnOnce(&[ItemType]))[src]

pub fn update_array_copying<ItemType: Copy>(&self, array: &[ItemType])[src]

pub fn fetch_array_copying<ItemType: Copy>(&self, array: &mut [ItemType])[src]

Auto Trait Implementations

impl<VariantType> RefUnwindSafe for BufferBindingView<VariantType> where
    VariantType: RefUnwindSafe

impl<VariantType = ()> !Send for BufferBindingView<VariantType>

impl<VariantType = ()> !Sync for BufferBindingView<VariantType>

impl<VariantType> Unpin for BufferBindingView<VariantType> where
    VariantType: Unpin

impl<VariantType> UnwindSafe for BufferBindingView<VariantType> where
    VariantType: 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.