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.
Members
new
fn new(providers: Vec<Rc<dyn TranslationProvider>>) -> Self
with_failure_behavior
fn with_failure_behavior(self: Self, behavior: TranslationProviderFailureBehavior) -> Self
providers
fn providers(self: &Self) -> &[Rc<dyn TranslationProvider>]
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherTranslationProvider
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.