[−][src]Struct liquid::partials::OnDemandCompiler
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.
Methods
impl<S> OnDemandCompiler<S> where
S: PartialSource,
[src]
S: PartialSource,
impl<S> OnDemandCompiler<S> where
S: PartialSource + Default,
[src]
S: PartialSource + Default,
Trait Implementations
impl<S> PartialCompiler for OnDemandCompiler<S> where
S: PartialSource + Send + Sync + 'static,
[src]
S: PartialSource + Send + Sync + 'static,
impl<S> Default for OnDemandCompiler<S> where
S: PartialSource + Default,
[src]
S: PartialSource + Default,
impl<S> Deref for OnDemandCompiler<S> where
S: PartialSource,
[src]
S: PartialSource,
impl<S> DerefMut for OnDemandCompiler<S> where
S: PartialSource,
[src]
S: PartialSource,
impl<S: Debug + PartialSource> Debug for OnDemandCompiler<S>
[src]
Auto Trait Implementations
impl<S> Send for OnDemandCompiler<S> where
S: Send,
S: Send,
impl<S> Unpin for OnDemandCompiler<S> where
S: Unpin,
S: Unpin,
impl<S> Sync for OnDemandCompiler<S> where
S: Sync,
S: Sync,
impl<S> UnwindSafe for OnDemandCompiler<S> where
S: UnwindSafe,
S: UnwindSafe,
impl<S> RefUnwindSafe for OnDemandCompiler<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,