wgpu_core::command

Type Alias TexelCopyBufferInfo

Source
pub type TexelCopyBufferInfo = TexelCopyBufferInfo<BufferId>;

Aliased Type§

struct TexelCopyBufferInfo {
    pub buffer: Id<Buffer>,
    pub layout: TexelCopyBufferLayout,
}

Fields§

§buffer: Id<Buffer>

The buffer to be copied to/from.

§layout: TexelCopyBufferLayout

The layout of the texture data in this buffer.

Trait Implementations

Source§

impl<B> Clone for TexelCopyBufferInfo<B>
where B: Clone,

Source§

fn clone(&self) -> TexelCopyBufferInfo<B>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<B> Debug for TexelCopyBufferInfo<B>
where B: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>
where B: Deserialize<'de>,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TexelCopyBufferInfo<B>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<B> Serialize for TexelCopyBufferInfo<B>
where B: Serialize,

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<B> Copy for TexelCopyBufferInfo<B>
where B: Copy,