[][src]Struct wgpu::BufferCopyView

pub struct BufferCopyView<'a> {
    pub buffer: &'a Buffer,
    pub layout: TextureDataLayout,

View of a buffer which can be used to copy to/from a texture.


buffer: &'a Buffer

The buffer to be copied to/from.

layout: TextureDataLayout

The layout of the texture data in this buffer.

Trait Implementations

impl<'a> Clone for BufferCopyView<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for BufferCopyView<'a>

impl<'a> Send for BufferCopyView<'a>

impl<'a> Sync for BufferCopyView<'a>

impl<'a> Unpin for BufferCopyView<'a>

impl<'a> !UnwindSafe for BufferCopyView<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.