Skip to main content

ArgumentList

Trait ArgumentList 

Source
pub trait ArgumentList: ValueRepr + List { }
Expand description

Names a canonical tuple argument list, sealed to Nil and Cons.

§Examples

use cel_runtime::{ArgumentList, Cons, Leaf, Nil};
fn list<A: ArgumentList>() {}
list::<Cons<Leaf<i32>, Nil>>();

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ArgumentList for T
where T: List,