FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositeTranslationProvider

    struct · ferroui-protranslate-core · v0.5.0

    struct CompositeTranslationProvider
    

    Ordered, composable providers. Provider failures remain in result diagnostics even if a later provider successfully resolves the value.

    View source

    Members

    new

    fn new(providers: Vec<Rc<dyn TranslationProvider>>) -> Self
    

    Source

    with_failure_behavior

    fn with_failure_behavior(self: Self, behavior: TranslationProviderFailureBehavior) -> Self
    

    Source

    providers

    fn providers(self: &Self) -> &[Rc<dyn TranslationProvider>]
    

    Source

    Trait implementations

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

    Availability

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