FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SerialDisposable

    struct · ferroui-base · v0.5.0

    struct SerialDisposable
    

    Holds a replaceable inner disposable; assigning a new one disposes the previous one.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    set

    fn set(self: &Self, value: Option<Rc<dyn IDisposable>>)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • Default
    • IDisposable

    Availability

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