FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    dispose

    fn dispose(self: &mut Self)
    

    Exits the guard, removing the node ID from the visited set.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Drop

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.