pub struct ArcLoaderBuilder<'a, 'b> { /* private fields */ }
Expand description
A builder pattern struct for constructing ArcLoader
s.
Implementations§
Source§impl<'a, 'b> ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> ArcLoaderBuilder<'a, 'b>
Adds Fluent resources that are shared across all localizations.
Sourcepub fn customize(
self,
customize: impl FnMut(&mut FluentBundle<Arc<FluentResource>>) + 'static,
) -> Self
pub fn customize( self, customize: impl FnMut(&mut FluentBundle<Arc<FluentResource>>) + 'static, ) -> Self
Allows you to customise each FluentBundle
.
Auto Trait Implementations§
impl<'a, 'b> Freeze for ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> !Send for ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> !Sync for ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> Unpin for ArcLoaderBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for ArcLoaderBuilder<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more