Update IncidenceCursor trait doc with note on Copy

This commit is contained in:
2026-07-17 11:30:45 +02:00
parent a14202effc
commit ad9850800d
+3
View File
@@ -210,6 +210,9 @@ pub trait GraphTopologyDeletion: GraphTopology {
/// A cursor for traversing the incidences of a vertex one step at a time.
///
/// Because the cursor is [`Copy`], its state can be saved and restored to replay or branch a
/// traversal.
///
/// Cursors are obtained via [`GraphTopology::incidence_cursor`]. See
/// [`GraphTopology::IncidenceCursor`] for guidance on when to prefer a cursor over
/// [`GraphTopology::incidences`].