Input

Trait Input 

Source
pub trait Input {
    // Provided methods
    fn resolve_arg(
        &mut self,
        expr_arg: &ExprArg,
        projection: &Projection,
    ) -> Option<Expr> { ... }
    fn resolve_ref(
        &mut self,
        expr_reference: &ExprReference,
        projection: &Projection,
    ) -> Option<Expr> { ... }
}

Provided Methods§

Source

fn resolve_arg( &mut self, expr_arg: &ExprArg, projection: &Projection, ) -> Option<Expr>

Source

fn resolve_ref( &mut self, expr_reference: &ExprReference, projection: &Projection, ) -> Option<Expr>

Implementations on Foreign Types§

Source§

impl Input for &Vec<Value>

Source§

fn resolve_arg( &mut self, expr_arg: &ExprArg, projection: &Projection, ) -> Option<Expr>

Source§

impl<T> Input for &[T]
where for<'a> &'a T: Project,

Source§

fn resolve_arg( &mut self, expr_arg: &ExprArg, projection: &Projection, ) -> Option<Expr>

Source§

impl<T, const N: usize> Input for &[T; N]
where for<'a> &'a T: Project,

Source§

fn resolve_arg( &mut self, expr_arg: &ExprArg, projection: &Projection, ) -> Option<Expr>

Source§

impl<T, const N: usize> Input for [T; N]
where for<'a> &'a T: Project,

Source§

fn resolve_arg( &mut self, expr_arg: &ExprArg, projection: &Projection, ) -> Option<Expr>

Implementors§

Source§

impl Input for ConstInput

Source§

impl<I: Input, T: Resolve> Input for TypedInput<'_, I, T>