Enum jrsonnet_evaluator::FuncVal [−][src]
pub enum FuncVal { Normal(FuncDesc), Intrinsic(IStr), NativeExt(IStr, Rc<NativeCallback>), }
Variants
Normal(FuncDesc)
Plain function implemented in jsonnet
Intrinsic(IStr)
Standard library function
NativeExt(IStr, Rc<NativeCallback>)
Library functions implemented in native
Implementations
impl FuncVal
[src]
impl FuncVal
[src]pub fn is_ident(&self) -> bool
[src]
pub fn name(&self) -> IStr
[src]
pub fn evaluate(
&self,
call_ctx: Context,
loc: Option<&ExprLocation>,
args: &ArgsDesc,
tailstrict: bool
) -> Result<Val>
[src]
&self,
call_ctx: Context,
loc: Option<&ExprLocation>,
args: &ArgsDesc,
tailstrict: bool
) -> Result<Val>
pub fn evaluate_map(
&self,
call_ctx: Context,
args: &HashMap<IStr, Val>,
tailstrict: bool
) -> Result<Val>
[src]
&self,
call_ctx: Context,
args: &HashMap<IStr, Val>,
tailstrict: bool
) -> Result<Val>
pub fn evaluate_values(&self, call_ctx: Context, args: &[Val]) -> Result<Val>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FuncVal
impl !RefUnwindSafe for FuncVal
impl !UnwindSafe for FuncVal
impl !UnwindSafe for FuncVal