pub struct Graph {
pub edges_lookup: HashMap<usize, Edge>,
pub nodes_lookup: HashMap<usize, Node>,
pub node_position_lookup: Option<HashMap<usize, Position>>,
pub edges: Vec<Edge>,
pub node_count: usize,
}
Fields§
§edges_lookup: HashMap<usize, Edge>
§nodes_lookup: HashMap<usize, Node>
§node_position_lookup: Option<HashMap<usize, Position>>
§edges: Vec<Edge>
§node_count: usize
Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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