Struct liquid_core::partials::OnDemandCompiler
source · [−]pub struct OnDemandCompiler<S: PartialSource> { /* private fields */ }Expand description
An on-demand compiler for PartialSource.
This is unlikely the PartialCompiler you want. This best serves as an example.
This would be useful in cases where:
- Most partial-templates aren’t used
- Of the used partial-templates, they are generally used once.
Implementations
sourceimpl<S> OnDemandCompiler<S> where
S: PartialSource,
impl<S> OnDemandCompiler<S> where
S: PartialSource,
sourceimpl<S> OnDemandCompiler<S> where
S: PartialSource + Default,
impl<S> OnDemandCompiler<S> where
S: PartialSource + Default,
Trait Implementations
sourceimpl<S: Debug + PartialSource> Debug for OnDemandCompiler<S>
impl<S: Debug + PartialSource> Debug for OnDemandCompiler<S>
sourceimpl<S> Default for OnDemandCompiler<S> where
S: PartialSource + Default,
impl<S> Default for OnDemandCompiler<S> where
S: PartialSource + Default,
sourceimpl<S> Deref for OnDemandCompiler<S> where
S: PartialSource,
impl<S> Deref for OnDemandCompiler<S> where
S: PartialSource,
sourceimpl<S> DerefMut for OnDemandCompiler<S> where
S: PartialSource,
impl<S> DerefMut for OnDemandCompiler<S> where
S: PartialSource,
sourceimpl<S> PartialCompiler for OnDemandCompiler<S> where
S: PartialSource + Send + Sync + 'static,
impl<S> PartialCompiler for OnDemandCompiler<S> where
S: PartialSource + Send + Sync + 'static,
Auto Trait Implementations
impl<S> RefUnwindSafe for OnDemandCompiler<S> where
S: RefUnwindSafe,
impl<S> Send for OnDemandCompiler<S> where
S: Send,
impl<S> Sync for OnDemandCompiler<S> where
S: Sync,
impl<S> Unpin for OnDemandCompiler<S> where
S: Unpin,
impl<S> UnwindSafe for OnDemandCompiler<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