Struct solstice::mesh::AttachedAttributes
source · pub struct AttachedAttributes<'a> {
pub buffer: &'a Buffer,
pub formats: &'a [VertexFormat],
pub step: u32,
pub stride: usize,
}
Fields§
§buffer: &'a Buffer
§formats: &'a [VertexFormat]
§step: u32
§stride: usize
Trait Implementations§
source§impl<'a> Clone for AttachedAttributes<'a>
impl<'a> Clone for AttachedAttributes<'a>
source§fn clone(&self) -> AttachedAttributes<'a>
fn clone(&self) -> AttachedAttributes<'a>
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<'a> Debug for AttachedAttributes<'a>
impl<'a> Debug for AttachedAttributes<'a>
source§impl<'a> PartialEq<AttachedAttributes<'a>> for AttachedAttributes<'a>
impl<'a> PartialEq<AttachedAttributes<'a>> for AttachedAttributes<'a>
source§fn eq(&self, other: &AttachedAttributes<'a>) -> bool
fn eq(&self, other: &AttachedAttributes<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.