Type Alias rustc_errors::LazyFallbackBundle
source · pub type LazyFallbackBundle = Arc<LazyLock<IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>, impl FnOnce() -> IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>>>;
Expand description
Type alias for the result of fallback_fluent_bundle
- a reference-counted pointer to a lazily
evaluated fluent bundle.
Aliased Type§
struct LazyFallbackBundle {
ptr: NonNull<ArcInner<LazyLock<IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>, impl FnOnce() -> IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>>>>,
phantom: PhantomData<ArcInner<LazyLock<IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>, impl FnOnce() -> IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>>>>,
alloc: Global,
}
Fields§
§ptr: NonNull<ArcInner<LazyLock<IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>, impl FnOnce() -> IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>>>>
§phantom: PhantomData<ArcInner<LazyLock<IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>, impl FnOnce() -> IntoDynSyncSend<FluentBundle<FluentResource, IntlLangMemoizer>>>>>
§alloc: Global
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes