[−][src]Struct fluent_templates::ArcLoaderBuilder
A builder pattern struct for constructing ArcLoader
s.
Implementations
impl<'a, 'b> ArcLoaderBuilder<'a, 'b>
[src]
pub fn shared_resources(self, shared: Option<&'b [PathBuf]>) -> Self
[src]
Adds Fluent resources that are shared across all localizations.
pub fn customize(
self,
customize: fn(_: &mut FluentBundle<Arc<FluentResource>>)
) -> Self
[src]
self,
customize: fn(_: &mut FluentBundle<Arc<FluentResource>>)
) -> Self
Allows you to customise each FluentBundle
.
pub fn build(self) -> Result<ArcLoader, Box<dyn Error>>
[src]
Constructs an ArcLoader
from the settings provided.
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,