Skip to main content

Item

Type Alias Item 

pub type Item<L, N> = <L as ListIndex<N>>::Output;
Expand description

Names the field or sublist type selected by index N in list L.

ยงExamples

use cel_runtime::Item;
let first: Item<(String, (u8, ())), typenum::U0> = String::from("owned");
assert_eq!(first, "owned");