4 lines
8.2 KiB
HTML
4 lines
8.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="`StableGraph` keeps indices stable across removals."><title>petgraph::stable_graph - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="petgraph" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../petgraph/index.html">petgraph</a><span class="version">0.6.5</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module stable_<wbr>graph</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate petgraph</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">petgraph</a></span><h1>Module <span>stable_graph</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/petgraph/graph_impl/stable_graph/mod.rs.html#1-2103">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>StableGraph</code> keeps indices stable across removals.</p>
|
|
<p>Depends on <code>feature = "stable_graph"</code>.</p>
|
|
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name" id="reexport.edge_index"><code>pub use crate::graph::<a class="fn" href="../graph/fn.edge_index.html" title="fn petgraph::graph::edge_index">edge_index</a>;</code></div></li><li><div class="item-name" id="reexport.node_index"><code>pub use crate::graph::<a class="fn" href="../graph/fn.node_index.html" title="fn petgraph::graph::node_index">node_index</a>;</code></div></li><li><div class="item-name" id="reexport.DefaultIx"><code>pub use crate::graph::<a class="type" href="../graph/type.DefaultIx.html" title="type petgraph::graph::DefaultIx">DefaultIx</a>;</code></div></li><li><div class="item-name" id="reexport.EdgeIndex"><code>pub use crate::graph::<a class="struct" href="../graph/struct.EdgeIndex.html" title="struct petgraph::graph::EdgeIndex">EdgeIndex</a>;</code></div></li><li><div class="item-name" id="reexport.GraphIndex"><code>pub use crate::graph::<a class="trait" href="../graph/trait.GraphIndex.html" title="trait petgraph::graph::GraphIndex">GraphIndex</a>;</code></div></li><li><div class="item-name" id="reexport.IndexType"><code>pub use crate::graph::<a class="trait" href="../graph/trait.IndexType.html" title="trait petgraph::graph::IndexType">IndexType</a>;</code></div></li><li><div class="item-name" id="reexport.NodeIndex"><code>pub use crate::graph::<a class="struct" href="../graph/struct.NodeIndex.html" title="struct petgraph::graph::NodeIndex">NodeIndex</a>;</code></div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.EdgeIndices.html" title="struct petgraph::stable_graph::EdgeIndices">Edge<wbr>Indices</a></div><div class="desc docblock-short">Iterator over the edge indices of a graph.</div></li><li><div class="item-name"><a class="struct" href="struct.EdgeReference.html" title="struct petgraph::stable_graph::EdgeReference">Edge<wbr>Reference</a></div><div class="desc docblock-short">Reference to a <code>StableGraph</code> edge.</div></li><li><div class="item-name"><a class="struct" href="struct.EdgeReferences.html" title="struct petgraph::stable_graph::EdgeReferences">Edge<wbr>References</a></div><div class="desc docblock-short">Iterator over all edges of a graph.</div></li><li><div class="item-name"><a class="struct" href="struct.Edges.html" title="struct petgraph::stable_graph::Edges">Edges</a></div><div class="desc docblock-short">Iterator over the edges of from or to a node</div></li><li><div class="item-name"><a class="struct" href="struct.EdgesConnecting.html" title="struct petgraph::stable_graph::EdgesConnecting">Edges<wbr>Connecting</a></div><div class="desc docblock-short">Iterator over the multiple directed edges connecting a source node to a target node</div></li><li><div class="item-name"><a class="struct" href="struct.Externals.html" title="struct petgraph::stable_graph::Externals">Externals</a></div><div class="desc docblock-short">An iterator over either the nodes without edges to them or from them.</div></li><li><div class="item-name"><a class="struct" href="struct.Neighbors.html" title="struct petgraph::stable_graph::Neighbors">Neighbors</a></div><div class="desc docblock-short">Iterator over the neighbors of a node.</div></li><li><div class="item-name"><a class="struct" href="struct.NodeIndices.html" title="struct petgraph::stable_graph::NodeIndices">Node<wbr>Indices</a></div><div class="desc docblock-short">Iterator over the node indices of a graph.</div></li><li><div class="item-name"><a class="struct" href="struct.NodeReferences.html" title="struct petgraph::stable_graph::NodeReferences">Node<wbr>References</a></div><div class="desc docblock-short">Iterator over all nodes of a graph.</div></li><li><div class="item-name"><a class="struct" href="struct.StableGraph.html" title="struct petgraph::stable_graph::StableGraph">Stable<wbr>Graph</a></div><div class="desc docblock-short"><code>StableGraph<N, E, Ty, Ix></code> is a graph datastructure using an adjacency
|
|
list representation.</div></li><li><div class="item-name"><a class="struct" href="struct.WalkNeighbors.html" title="struct petgraph::stable_graph::WalkNeighbors">Walk<wbr>Neighbors</a></div><div class="desc docblock-short">A “walker” object that can be used to step through the edge list of a node.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.StableDiGraph.html" title="type petgraph::stable_graph::StableDiGraph">Stable<wbr>DiGraph</a></div><div class="desc docblock-short">A <code>StableGraph</code> with directed edges.</div></li><li><div class="item-name"><a class="type" href="type.StableUnGraph.html" title="type petgraph::stable_graph::StableUnGraph">Stable<wbr>UnGraph</a></div><div class="desc docblock-short">A <code>StableGraph</code> with undirected edges.</div></li></ul></section></div></main></body></html> |