CycleGuard
struct · ferroui-base · v0.5.0
struct CycleGuard<'a, T: Copy + Eq + Hash>
A guard that tracks entry into a node and ensures proper cleanup.
The node is exited when the guard is dropped or disposed,
whichever comes first.
Members
dispose
fn dispose(self: &mut Self)
Exits the guard, removing the node ID from the visited set.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.