FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Subscription

    struct · ferroui-reactive-testing · v0.5.0

    struct Subscription
    

    A subscription to a test observable: the virtual times it was made and disposed (Subscription).

    View source

    Members

    subscribe

    subscribe: i64
    

    The time of the subscription (Subscribe).

    Source

    unsubscribe

    unsubscribe: i64
    

    The time of its disposal; Subscription::INFINITE while it lasts (Unsubscribe).

    Source

    INFINITE

    const INFINITE: i64
    

    The time of a subscription that has not been disposed (Infinite).

    Source

    new

    fn new(subscribe: i64, unsubscribe: i64) -> Self
    

    Source

    starting

    fn starting(subscribe: i64) -> Self
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Copy
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Debug

    Availability

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