Trait gut::mesh::attrib::FaceCellAttrib [−][src]
pub trait FaceCellAttrib {
fn topo_attrib_size(&self) -> usize;
fn topo_attrib_dict(
&self
) -> &HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>;
fn topo_attrib_dict_mut(
&mut self
) -> &mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>;
fn topo_attrib_dict_and_cache_mut(
&mut self
) -> (&mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>, Option<&mut HashSet<Value<MaybeUninit<usize>, AttributeValueHashVTable>, RandomState, Global>>);
}
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
fn topo_attrib_size(&self) -> usize
fn topo_attrib_size(&self) -> usize
Mesh implementation of the attribute size getter.
fn topo_attrib_dict(
&self
) -> &HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>
fn topo_attrib_dict(
&self
) -> &HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>
Mesh implementation of the attribute dictionary getter.
fn topo_attrib_dict_mut(
&mut self
) -> &mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>
fn topo_attrib_dict_mut(
&mut self
) -> &mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>
Mesh implementation of the attribute dictionary mutable getter.
fn topo_attrib_dict_and_cache_mut(
&mut self
) -> (&mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>, Option<&mut HashSet<Value<MaybeUninit<usize>, AttributeValueHashVTable>, RandomState, Global>>)
fn topo_attrib_dict_and_cache_mut(
&mut self
) -> (&mut HashMap<String, Attribute<FaceCellIndex>, RandomState, Global>, Option<&mut HashSet<Value<MaybeUninit<usize>, AttributeValueHashVTable>, RandomState, Global>>)
Mesh implementation of the attribute dictionary and cache mutable getter.