FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DropGuard

    struct · ferroui-system · v0.5.0

    struct DropGuard
    

    Cancels its token when it is dropped (CancellationToken::drop_guard), unless it is disarmed.

    View source

    Members

    disarm

    fn disarm(self: Self) -> CancellationToken
    

    Gives the token back without canceling it.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • Drop
    • Debug

    Availability

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