Files
phy/petgraph/visit/trait.EdgeRef.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

24 lines
22 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="An edge reference."><title>EdgeRef in petgraph::visit - 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 trait"><!--[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="#">EdgeRef</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.EdgeId" title="EdgeId">EdgeId</a></li><li><a href="#associatedtype.NodeId" title="NodeId">NodeId</a></li><li><a href="#associatedtype.Weight" title="Weight">Weight</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.id" title="id">id</a></li><li><a href="#tymethod.source" title="source">source</a></li><li><a href="#tymethod.target" title="target">target</a></li><li><a href="#tymethod.weight" title="weight">weight</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EdgeRef-for-(N,+N,+%26E)" title="(N, N, &#38;&#39;a E)">(N, N, &#38;&#39;a E)</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In petgraph::<wbr>visit</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>::<wbr><a href="index.html">visit</a></span><h1>Trait <span class="trait">EdgeRef</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/visit/mod.rs.html#221-233">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EdgeRef: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> {
type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a>;
type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a>;
type <a href="#associatedtype.Weight" class="associatedtype">Weight</a>;
// Required methods
fn <a href="#tymethod.source" class="fn">source</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.NodeId" title="type petgraph::visit::EdgeRef::NodeId">NodeId</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.target" class="fn">target</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.NodeId" title="type petgraph::visit::EdgeRef::NodeId">NodeId</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.weight" class="fn">weight</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.Weight" title="type petgraph::visit::EdgeRef::Weight">Weight</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.id" class="fn">id</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.EdgeId" title="type petgraph::visit::EdgeRef::EdgeId">EdgeId</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An edge reference.</p>
<p>Edge references are used by traits <code>IntoEdges</code> and <code>IntoEdgeReferences</code>.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.NodeId" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#222">Source</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a></h4></section><section id="associatedtype.EdgeId" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#223">Source</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a></h4></section><section id="associatedtype.Weight" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#224">Source</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.source" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#226">Source</a><h4 class="code-header">fn <a href="#tymethod.source" class="fn">source</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.NodeId" title="type petgraph::visit::EdgeRef::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>The source node of the edge.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.target" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#228">Source</a><h4 class="code-header">fn <a href="#tymethod.target" class="fn">target</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.NodeId" title="type petgraph::visit::EdgeRef::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>The target node of the edge.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.weight" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#230">Source</a><h4 class="code-header">fn <a href="#tymethod.weight" class="fn">weight</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.Weight" title="type petgraph::visit::EdgeRef::Weight">Weight</a></h4></section></summary><div class="docblock"><p>A reference to the weight of the edge.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.id" class="method"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#232">Source</a><h4 class="code-header">fn <a href="#tymethod.id" class="fn">id</a>(&amp;self) -&gt; Self::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.EdgeId" title="type petgraph::visit::EdgeRef::EdgeId">EdgeId</a></h4></section></summary><div class="docblock"><p>The edges identifier.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.0/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-(N,+N,+%26E)" class="impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#235-255">Source</a><a href="#impl-EdgeRef-for-(N,+N,+%26E)" class="anchor">§</a><h3 class="code-header">impl&lt;'a, N, E&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for (N, N, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;'a E</a>)<div class="where">where
N: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NodeId-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#239">Source</a><a href="#associatedtype.NodeId-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = N</h4></section><section id="associatedtype.EdgeId-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#240">Source</a><a href="#associatedtype.EdgeId-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(N, N)</a></h4></section><section id="associatedtype.Weight-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#241">Source</a><a href="#associatedtype.Weight-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = E</h4></section><section id="method.source" class="method trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#243-245">Source</a><a href="#method.source" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.source" class="fn">source</a>(&amp;self) -&gt; N</h4></section><section id="method.target" class="method trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#246-248">Source</a><a href="#method.target" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.target" class="fn">target</a>(&amp;self) -&gt; N</h4></section><section id="method.weight" class="method trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#249-251">Source</a><a href="#method.weight" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.weight" class="fn">weight</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;E</a></h4></section><section id="method.id" class="method trait-impl"><a class="src rightside" href="../../src/petgraph/visit/mod.rs.html#252-254">Source</a><a href="#method.id" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.id" class="fn">id</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.tuple.html">(N, N)</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E" class="impl"><a class="src rightside" href="../../src/petgraph/adj.rs.html#78-94">Source</a><a href="#impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, E, Ix: <a class="trait" href="../graph/trait.IndexType.html" title="trait petgraph::graph::IndexType">IndexType</a>&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for petgraph::adj::<a class="struct" href="../adj/struct.EdgeReference.html" title="struct petgraph::adj::EdgeReference">EdgeReference</a>&lt;'a, E, Ix&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.NodeId-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/adj.rs.html#79">Source</a><a href="#associatedtype.NodeId-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = Ix</h4></section><section id="associatedtype.EdgeId-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/adj.rs.html#80">Source</a><a href="#associatedtype.EdgeId-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = <a class="struct" href="../adj/struct.EdgeIndex.html" title="struct petgraph::adj::EdgeIndex">EdgeIndex</a>&lt;Ix&gt;</h4></section><section id="associatedtype.Weight-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/adj.rs.html#81">Source</a><a href="#associatedtype.Weight-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = E</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ty,+Ix%3E" class="impl"><a class="src rightside" href="../../src/petgraph/csr.rs.html#434-455">Source</a><a href="#impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ty,+Ix%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, E, Ty, Ix&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for petgraph::csr::<a class="struct" href="../csr/struct.EdgeReference.html" title="struct petgraph::csr::EdgeReference">EdgeReference</a>&lt;'a, E, Ty, Ix&gt;<div class="where">where
Ty: <a class="trait" href="../trait.EdgeType.html" title="trait petgraph::EdgeType">EdgeType</a>,
Ix: <a class="trait" href="../graph/trait.IndexType.html" title="trait petgraph::graph::IndexType">IndexType</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NodeId-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/csr.rs.html#439">Source</a><a href="#associatedtype.NodeId-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = Ix</h4></section><section id="associatedtype.EdgeId-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/csr.rs.html#440">Source</a><a href="#associatedtype.EdgeId-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a></h4></section><section id="associatedtype.Weight-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/csr.rs.html#441">Source</a><a href="#associatedtype.Weight-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = E</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E-1" class="impl"><a class="src rightside" href="../../src/petgraph/graph_impl/mod.rs.html#2316-2336">Source</a><a href="#impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E-1" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Ix, E&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for petgraph::graph::<a class="struct" href="../graph/struct.EdgeReference.html" title="struct petgraph::graph::EdgeReference">EdgeReference</a>&lt;'a, E, Ix&gt;<div class="where">where
Ix: <a class="trait" href="../graph/trait.IndexType.html" title="trait petgraph::graph::IndexType">IndexType</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NodeId-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/mod.rs.html#2320">Source</a><a href="#associatedtype.NodeId-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = <a class="struct" href="../graph/struct.NodeIndex.html" title="struct petgraph::graph::NodeIndex">NodeIndex</a>&lt;Ix&gt;</h4></section><section id="associatedtype.EdgeId-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/mod.rs.html#2321">Source</a><a href="#associatedtype.EdgeId-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = <a class="struct" href="../graph/struct.EdgeIndex.html" title="struct petgraph::graph::EdgeIndex">EdgeIndex</a>&lt;Ix&gt;</h4></section><section id="associatedtype.Weight-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/mod.rs.html#2322">Source</a><a href="#associatedtype.Weight-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = E</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E-2" class="impl"><a class="src rightside" href="../../src/petgraph/graph_impl/stable_graph/mod.rs.html#1903-1923">Source</a><a href="#impl-EdgeRef-for-EdgeReference%3C'a,+E,+Ix%3E-2" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Ix, E&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for petgraph::stable_graph::<a class="struct" href="../stable_graph/struct.EdgeReference.html" title="struct petgraph::stable_graph::EdgeReference">EdgeReference</a>&lt;'a, E, Ix&gt;<div class="where">where
Ix: <a class="trait" href="../graph/trait.IndexType.html" title="trait petgraph::graph::IndexType">IndexType</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NodeId-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/stable_graph/mod.rs.html#1907">Source</a><a href="#associatedtype.NodeId-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = <a class="struct" href="../graph/struct.NodeIndex.html" title="struct petgraph::graph::NodeIndex">NodeIndex</a>&lt;Ix&gt;</h4></section><section id="associatedtype.EdgeId-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/stable_graph/mod.rs.html#1908">Source</a><a href="#associatedtype.EdgeId-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = <a class="struct" href="../graph/struct.EdgeIndex.html" title="struct petgraph::graph::EdgeIndex">EdgeIndex</a>&lt;Ix&gt;</h4></section><section id="associatedtype.Weight-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/graph_impl/stable_graph/mod.rs.html#1909">Source</a><a href="#associatedtype.Weight-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = E</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-EdgeRef-for-ReversedEdgeReference%3CR%3E" class="impl"><a class="src rightside" href="../../src/petgraph/visit/reversed.rs.html#116-135">Source</a><a href="#impl-EdgeRef-for-ReversedEdgeReference%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a> for <a class="struct" href="struct.ReversedEdgeReference.html" title="struct petgraph::visit::ReversedEdgeReference">ReversedEdgeReference</a>&lt;R&gt;<div class="where">where
R: <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a>,</div></h3></section></summary><div class="docblock"><p>An edge reference</p>
</div><div class="impl-items"><section id="associatedtype.NodeId-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/reversed.rs.html#120">Source</a><a href="#associatedtype.NodeId-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.NodeId" class="associatedtype">NodeId</a> = &lt;R as <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a>&gt;::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.NodeId" title="type petgraph::visit::EdgeRef::NodeId">NodeId</a></h4></section><section id="associatedtype.EdgeId-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/reversed.rs.html#121">Source</a><a href="#associatedtype.EdgeId-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.EdgeId" class="associatedtype">EdgeId</a> = &lt;R as <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a>&gt;::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.EdgeId" title="type petgraph::visit::EdgeRef::EdgeId">EdgeId</a></h4></section><section id="associatedtype.Weight-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/petgraph/visit/reversed.rs.html#122">Source</a><a href="#associatedtype.Weight-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Weight" class="associatedtype">Weight</a> = &lt;R as <a class="trait" href="trait.EdgeRef.html" title="trait petgraph::visit::EdgeRef">EdgeRef</a>&gt;::<a class="associatedtype" href="trait.EdgeRef.html#associatedtype.Weight" title="type petgraph::visit::EdgeRef::Weight">Weight</a></h4></section></div></details></div><script src="../../trait.impl/petgraph/visit/trait.EdgeRef.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>