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§
source§impl<S> OnDemandCompiler<S>where
S: PartialSource,
impl<S> OnDemandCompiler<S>where S: PartialSource,
source§impl<S> OnDemandCompiler<S>where
S: PartialSource + Default,
impl<S> OnDemandCompiler<S>where S: PartialSource + Default,
Trait Implementations§
source§impl<S: Debug + PartialSource> Debug for OnDemandCompiler<S>
impl<S: Debug + PartialSource> Debug for OnDemandCompiler<S>
source§impl<S> Default for OnDemandCompiler<S>where
S: PartialSource + Default,
impl<S> Default for OnDemandCompiler<S>where S: PartialSource + Default,
source§impl<S> Deref for OnDemandCompiler<S>where
S: PartialSource,
impl<S> Deref for OnDemandCompiler<S>where S: PartialSource,
source§impl<S> DerefMut for OnDemandCompiler<S>where
S: PartialSource,
impl<S> DerefMut for OnDemandCompiler<S>where S: PartialSource,
source§impl<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§
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