pub trait CellVertexAttrib {
    // Required methods
    fn topo_attrib_size(&self) -> usize;
    fn topo_attrib_dict(&self) -> &AttribDict<CellVertexIndex>;
    fn topo_attrib_dict_mut(&mut self) -> &mut AttribDict<CellVertexIndex>;
    fn topo_attrib_dict_and_cache_mut(
        &mut self
    ) -> (&mut AttribDict<CellVertexIndex>, Option<&mut AttribValueCache>);
}
Expand description

Topology specific attribute implementation trait.

This trait exists to allow one to access mesh attributes from Attrib using the AttribIndex trait. Additionally users can use this trait to filter meshes that have attributes at specific topological locations.

Required Methods§

source

fn topo_attrib_size(&self) -> usize

Mesh implementation of the attribute size getter.

source

fn topo_attrib_dict(&self) -> &AttribDict<CellVertexIndex>

Mesh implementation of the attribute dictionary getter.

source

fn topo_attrib_dict_mut(&mut self) -> &mut AttribDict<CellVertexIndex>

Mesh implementation of the attribute dictionary mutable getter.

source

fn topo_attrib_dict_and_cache_mut( &mut self ) -> (&mut AttribDict<CellVertexIndex>, Option<&mut AttribValueCache>)

Mesh implementation of the attribute dictionary and cache mutable getter.

Implementors§