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

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

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<VertexIndex>

Mesh implementation of the attribute dictionary getter.

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

Mesh implementation of the attribute dictionary mutable getter.

Loading content...

Implementors

impl<T: Real> VertexAttrib for PointCloud<T>[src]

impl<T: Real> VertexAttrib for PolyMesh<T>[src]

impl<T: Real> VertexAttrib for TetMesh<T>[src]

impl<T: Real> VertexAttrib for TetMeshExt<T>[src]

impl<T: Real> VertexAttrib for QuadMesh<T>[src]

impl<T: Real> VertexAttrib for QuadMeshExt<T>[src]

impl<T: Real> VertexAttrib for TriMesh<T>[src]

impl<T: Real> VertexAttrib for TriMeshExt<T>[src]

Loading content...