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> Clone for TexelCopyBufferInfo<B>
impl<B: Clone> Clone for TexelCopyBufferInfo<B>
Source§fn clone(&self) -> TexelCopyBufferInfo<B>
fn clone(&self) -> TexelCopyBufferInfo<B>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<B: Debug> Debug for TexelCopyBufferInfo<B>
impl<B: Debug> Debug for TexelCopyBufferInfo<B>
Source§impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>where
B: Deserialize<'de>,
impl<'de, B> Deserialize<'de> for TexelCopyBufferInfo<B>where
B: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more