pub struct UnitModuleInfo {
pub unit_index: usize,
pub mirrored_vertices: HashMap<VertexIndex, VertexIndex>,
pub owning_dual_range: NodeRange,
pub dual_node_pointers: PtrWeakKeyHashMap<DualNodeWeak, usize>,
}Expand description
records information only available when used as a unit in the partitioned dual module
Fields§
§unit_index: usizeunit index
mirrored_vertices: HashMap<VertexIndex, VertexIndex>all mirrored vertices (excluding owned ones) to query if this module contains the vertex
owning_dual_range: NodeRangeowned dual nodes range
dual_node_pointers: PtrWeakKeyHashMap<DualNodeWeak, usize>hash table for mapping DualNodePtr to internal DualNodeInternalPtr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitModuleInfo
impl !RefUnwindSafe for UnitModuleInfo
impl Send for UnitModuleInfo
impl Sync for UnitModuleInfo
impl Unpin for UnitModuleInfo
impl !UnwindSafe for UnitModuleInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more