pub fn from_value(v: Value) -> Self {
        match v {
            Value::List(v, _, false) => {
                CallArgs(v.into_iter().map(|v| (None, v)).collect())
            }
            v => CallArgs(vec![(None, v)]),
        }
    }
/// Create a new callargs from a single value.
///
/// If the value is a list, it used as a positional argument list.
/// Otherwise it is used as a single positional argument.
Create a new callargs from a single value.
If the value is a list, it used as a positional argument list.
Otherwise it is used as a single positional argument.
Create a new callargs from a single value . If the value is a list it used as a positional argument list . Otherwise it is used as a single positional argument .
pub fn from_value(v: Value) -> Self {
        match v {
            Value::List(v, _, false) => {
                CallArgs(v.into_iter().map(|v| (None, v)).collect())
            }
            v => CallArgs(vec![(None, v)]),
        }
    }
pub fn from_value ( v : Value ) -> Self { match v { Value :: List ( v , _ , false ) => { CallArgs ( v . into_iter ( ) . map ( | v | ( None , v ) ) . collect ( ) ) } v => CallArgs ( vec ! [ ( None v ) ] ) , } }
Create a new callargs from a single value.
Create a new callargs from a single value .
v
Value