Trait meshx::attrib::FaceVertexAttrib
source · pub trait FaceVertexAttrib {
// Required methods
fn topo_attrib_size(&self) -> usize;
fn topo_attrib_dict(&self) -> &AttribDict<FaceVertexIndex>;
fn topo_attrib_dict_mut(&mut self) -> &mut AttribDict<FaceVertexIndex>;
fn topo_attrib_dict_and_cache_mut(
&mut self
) -> (&mut AttribDict<FaceVertexIndex>, 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§
sourcefn topo_attrib_size(&self) -> usize
fn topo_attrib_size(&self) -> usize
Mesh implementation of the attribute size getter.
sourcefn topo_attrib_dict(&self) -> &AttribDict<FaceVertexIndex>
fn topo_attrib_dict(&self) -> &AttribDict<FaceVertexIndex>
Mesh implementation of the attribute dictionary getter.
sourcefn topo_attrib_dict_mut(&mut self) -> &mut AttribDict<FaceVertexIndex>
fn topo_attrib_dict_mut(&mut self) -> &mut AttribDict<FaceVertexIndex>
Mesh implementation of the attribute dictionary mutable getter.
sourcefn topo_attrib_dict_and_cache_mut(
&mut self
) -> (&mut AttribDict<FaceVertexIndex>, Option<&mut AttribValueCache>)
fn topo_attrib_dict_and_cache_mut( &mut self ) -> (&mut AttribDict<FaceVertexIndex>, Option<&mut AttribValueCache>)
Mesh implementation of the attribute dictionary and cache mutable getter.