pub struct ResonanceGraph {
pub num_vertices: usize,
pub edges: Vec<(usize, usize)>,
pub coordinates: HashMap<usize, [i8; 8]>,
}Expand description
A resonance graph with E₈ coordinate structure.
This represents objects in the category ResGraph.
Fields§
§num_vertices: usizeNumber of vertices
edges: Vec<(usize, usize)>Adjacency structure (list of edges)
coordinates: HashMap<usize, [i8; 8]>E₈ coordinates for each vertex (if embedded)
Implementations§
Trait Implementations§
Source§impl Clone for ResonanceGraph
impl Clone for ResonanceGraph
Source§fn clone(&self) -> ResonanceGraph
fn clone(&self) -> ResonanceGraph
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 ResonanceGraph
impl RefUnwindSafe for ResonanceGraph
impl Send for ResonanceGraph
impl Sync for ResonanceGraph
impl Unpin for ResonanceGraph
impl UnwindSafe for ResonanceGraph
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