FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScheduledDisposable

    struct · ferroui-reactive · v0.5.0

    struct ScheduledDisposable
    

    A disposable whose disposal runs on a scheduler (ScheduledDisposable).

    View source

    Members

    new

    fn new(scheduler: Rc<dyn IScheduler>, disposable: Rc<dyn IDisposable>) -> Rc<Self>
    

    Disposes disposable on scheduler when it is disposed.

    Source

    scheduler

    fn scheduler(self: &Self) -> &Rc<dyn IScheduler>
    

    The scheduler the disposal runs on.

    Source

    disposable

    fn disposable(self: &Self) -> Rc<dyn IDisposable>
    

    The disposable that is disposed (an empty one once it has been).

    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.