FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransformAsyncOptions

    struct · ferroui-dynamic-data · v0.5.0

    struct TransformAsyncOptions
    

    The options of TransformAsync and TransformSafeAsync (record struct TransformAsyncOptions(int? MaximumConcurrency, bool TransformOnRefresh)).

    View source

    Members

    maximum_concurrency

    maximum_concurrency: Option<usize>
    

    The greatest number of transforms in flight at once; None for no limit (MaximumConcurrency).

    Source

    transform_on_refresh

    transform_on_refresh: bool
    

    Whether a refresh transforms the item again (TransformOnRefresh).

    Source

    DEFAULT

    const DEFAULT: TransformAsyncOptions
    

    No limit of concurrency, and a refresh is forwarded without a new transform (Default).

    Source

    new

    const fn new(maximum_concurrency: Option<usize>, transform_on_refresh: bool) -> Self
    

    The options of maximum_concurrency and transform_on_refresh (TransformAsyncOptions(int?, bool)).

    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
    • Equivalent<K>
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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