[−][src]Struct liquid_core::runtime::Variable
A Value reference.
Implementations
impl Variable[src]
pub fn with_literal<S: Into<Scalar>>(value: S) -> Self[src]
Create a Value reference.
pub fn push_literal<S: Into<Scalar>>(self, value: S) -> Self[src]
Append a literal.
pub fn try_evaluate<'c>(&'c self, runtime: &'c Runtime) -> Option<Path<'c>>[src]
Convert to a Path.
pub fn evaluate<'c>(&'c self, runtime: &'c Runtime) -> Result<Path<'c>>[src]
Convert to a Path.
Trait Implementations
impl Clone for Variable[src]
impl Debug for Variable[src]
impl Display for Variable[src]
impl Extend<Expression> for Variable[src]
fn extend<T: IntoIterator<Item = Expression>>(&mut self, iter: T)[src]
fn extend_one(&mut self, item: A)[src]
fn extend_reserve(&mut self, additional: usize)[src]
impl Extend<ScalarCow<'static>> for Variable[src]
fn extend<T: IntoIterator<Item = Scalar>>(&mut self, iter: T)[src]
fn extend_one(&mut self, item: A)[src]
fn extend_reserve(&mut self, additional: usize)[src]
impl PartialEq<Variable> for Variable[src]
impl StructuralPartialEq for Variable[src]
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CloneAny for T where
T: Clone + Any, [src]
T: Clone + Any,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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>,