Update IncidenceCursor trait doc with note on Copy
This commit is contained in:
@@ -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`].
|
||||
|
||||
Reference in New Issue
Block a user