wgpu

Type Alias ImageCopyBuffer

Source
pub type ImageCopyBuffer<B> = TexelCopyBufferInfo<B>;
👎Deprecated since 24.0.0: This has been renamed to TexelCopyBufferInfo, and will be removed in 25.0.0.
Expand description

Old name for a TexelCopyBufferInfo.

Aliased Type§

struct ImageCopyBuffer<B> {
    pub buffer: B,
    pub layout: TexelCopyBufferLayout,
}

Fields§

§buffer: B

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,