[][src]Trait gut::mesh::attrib::MeshAttrib

pub trait MeshAttrib {
    fn impl_attrib_size(&self) -> usize;
fn impl_attrib_dict(&self) -> &AttribDict<MeshIndex>;
fn impl_attrib_dict_mut(&mut self) -> &mut AttribDict<MeshIndex>; }

Topology specific attribute implementation trait. This trait exists to allow one to access mesh attributes using the AttribIndex trait, and should never be used explicitly.

Required methods

fn impl_attrib_size(&self) -> usize

Mesh implementation of the attribute size getter.

fn impl_attrib_dict(&self) -> &AttribDict<MeshIndex>

Mesh implementation of the attribute dictionary getter.

fn impl_attrib_dict_mut(&mut self) -> &mut AttribDict<MeshIndex>

Mesh implementation of the attribute dictionary mutable getter.

Loading content...

Implementors

Loading content...