[−][src]Struct jrsonnet_evaluator::Context
Implementations
impl Context
[src]
pub fn new_future() -> FutureContext
[src]
pub fn dollar(&self) -> &Option<ObjValue>
[src]
pub fn this(&self) -> &Option<ObjValue>
[src]
pub fn super_obj(&self) -> &Option<ObjValue>
[src]
pub fn new() -> Self
[src]
pub fn binding(&self, name: Rc<str>) -> Result<LazyVal>
[src]
pub fn into_future(self, ctx: FutureContext) -> Self
[src]
pub fn with_var(self, name: Rc<str>, value: Val) -> Self
[src]
pub fn extend(
self,
new_bindings: FxHashMap<Rc<str>, LazyVal>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Self
[src]
self,
new_bindings: FxHashMap<Rc<str>, LazyVal>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Self
pub fn extend_unbound(
self,
new_bindings: HashMap<Rc<str>, LazyBinding>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Result<Self>
[src]
self,
new_bindings: HashMap<Rc<str>, LazyBinding>,
new_dollar: Option<ObjValue>,
new_this: Option<ObjValue>,
new_super_obj: Option<ObjValue>
) -> Result<Self>
Trait Implementations
impl Clone for Context
[src]
impl Debug for Context
[src]
impl Default for Context
[src]
impl PartialEq<Context> for Context
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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, 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>,