Struct liquid_core::runtime::RuntimeCore [−][src]
Processing runtime for a template.
Implementations
impl<'g> RuntimeCore<'g>
[src]
pub fn new() -> Self
[src]
Create a default RuntimeCore
.
See RuntimeBuilder
for more control.
pub fn partials(&self) -> &dyn PartialStore
[src]
Partial templates for inclusion.
Trait Implementations
impl<'g> Default for RuntimeCore<'g>
[src]
impl<'g> Runtime for RuntimeCore<'g>
[src]
fn partials(&self) -> &dyn PartialStore
[src]
fn name(&self) -> Option<KStringRef<'_>>
[src]
fn roots(&self) -> BTreeSet<KStringCow<'_>>
[src]
fn try_get(&self, _path: &[ScalarCow<'_>]) -> Option<ValueCow<'_>>
[src]
fn get(&self, path: &[ScalarCow<'_>]) -> Result<ValueCow<'_>>
[src]
fn set_global(&self, _name: KString, _val: Value) -> Option<Value>
[src]
fn set_index(&self, _name: KString, _val: Value) -> Option<Value>
[src]
fn get_index<'a>(&'a self, _name: &str) -> Option<ValueCow<'a>>
[src]
fn registers(&self) -> &Registers
[src]
Auto Trait Implementations
impl<'g> !RefUnwindSafe for RuntimeCore<'g>
impl<'g> !Send for RuntimeCore<'g>
impl<'g> !Sync for RuntimeCore<'g>
impl<'g> Unpin for RuntimeCore<'g>
impl<'g> !UnwindSafe for RuntimeCore<'g>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub 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.
pub 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>,