FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StableCompositeDisposable

    struct · ferroui-reactive · v0.5.0

    struct StableCompositeDisposable
    

    A fixed group of disposables that are disposed together (StableCompositeDisposable): unlike a CompositeDisposable nothing can be added or removed.

    View source

    Members

    create

    fn create(first: Rc<dyn IDisposable>, second: Rc<dyn IDisposable>) -> Rc<dyn ICancelable>
    

    A group of two disposables (Create(IDisposable, IDisposable)).

    Source

    create_from

    fn create_from(disposables: impl IntoIterator<Item = Rc<dyn IDisposable>>) -> Rc<dyn ICancelable>
    

    A group of the given disposables (Create(params IDisposable[])).

    Source

    Trait implementations

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

    Availability

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