pub trait Object {
// Provided methods
fn property_error(&self, name: &str) -> RuntimeError { ... }
fn method_error(&self, name: &str) -> RuntimeError { ... }
fn get(&self, name: &str) -> RuntimeResult<Value> { ... }
fn set(&mut self, name: &str, _value: Value) -> RuntimeResult<()> { ... }
fn call(&mut self, name: &str, _values: &[Value]) -> RuntimeResult<Value> { ... }
}Expand description
Twig object abstraction.