pub struct IsomorphismResult {
pub is_isomorphic: bool,
pub mapping: Option<HashMap<LinkId, LinkId>>,
}Expand description
Result of an isomorphism check, containing the mapping if isomorphic.
Fields§
§is_isomorphic: boolWhether the networks are isomorphic
mapping: Option<HashMap<LinkId, LinkId>>The node mapping from network1 to network2 (if isomorphic)
Trait Implementations§
Source§impl Clone for IsomorphismResult
impl Clone for IsomorphismResult
Source§fn clone(&self) -> IsomorphismResult
fn clone(&self) -> IsomorphismResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IsomorphismResult
impl RefUnwindSafe for IsomorphismResult
impl Send for IsomorphismResult
impl Sync for IsomorphismResult
impl Unpin for IsomorphismResult
impl UnwindSafe for IsomorphismResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more