Struct liquid_core::partials::EagerCompiler
source · [−]pub struct EagerCompiler<S: PartialSource> { /* private fields */ }Expand description
An eagerly-caching compiler for PartialSource.
This would be useful in cases where:
- Most partial-templates are used
- Of the used partial-templates, they are generally used many times.
Note: partial-compilation error reporting is deferred to render-time so content can still be generated even when the content is in an intermediate-state.
Implementations
sourceimpl<S> EagerCompiler<S> where
S: PartialSource,
impl<S> EagerCompiler<S> where
S: PartialSource,
sourceimpl<S> EagerCompiler<S> where
S: PartialSource + Default,
impl<S> EagerCompiler<S> where
S: PartialSource + Default,
Trait Implementations
sourceimpl<S: Debug + PartialSource> Debug for EagerCompiler<S>
impl<S: Debug + PartialSource> Debug for EagerCompiler<S>
sourceimpl<S> Default for EagerCompiler<S> where
S: PartialSource + Default,
impl<S> Default for EagerCompiler<S> where
S: PartialSource + Default,
sourceimpl<S> Deref for EagerCompiler<S> where
S: PartialSource,
impl<S> Deref for EagerCompiler<S> where
S: PartialSource,
sourceimpl<S> DerefMut for EagerCompiler<S> where
S: PartialSource,
impl<S> DerefMut for EagerCompiler<S> where
S: PartialSource,
sourceimpl<S> PartialCompiler for EagerCompiler<S> where
S: PartialSource + Send + Sync + 'static,
impl<S> PartialCompiler for EagerCompiler<S> where
S: PartialSource + Send + Sync + 'static,
Auto Trait Implementations
impl<S> RefUnwindSafe for EagerCompiler<S> where
S: RefUnwindSafe,
impl<S> Send for EagerCompiler<S> where
S: Send,
impl<S> Sync for EagerCompiler<S> where
S: Sync,
impl<S> Unpin for EagerCompiler<S> where
S: Unpin,
impl<S> UnwindSafe for EagerCompiler<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more