Struct sierra::BufferInfo
source · pub struct BufferInfo {
pub align: u64,
pub size: u64,
pub usage: BufferUsage,
}
Expand description
Information required to create a buffer.
Fields§
§align: u64
Alignment mask for content buffer can hold.
size: u64
Size of content buffer can hold.
usage: BufferUsage
Usage types supported by buffer.
Trait Implementations§
source§impl Clone for BufferInfo
impl Clone for BufferInfo
source§fn clone(&self) -> BufferInfo
fn clone(&self) -> BufferInfo
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 Debug for BufferInfo
impl Debug for BufferInfo
source§impl Hash for BufferInfo
impl Hash for BufferInfo
source§impl PartialEq<BufferInfo> for BufferInfo
impl PartialEq<BufferInfo> for BufferInfo
source§fn eq(&self, other: &BufferInfo) -> bool
fn eq(&self, other: &BufferInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.