1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use clojure::rust::*; /// Protocol `Indexed` use crate::*; // use clojure::lang::*; pub trait Indexed: IObject+Counted { /// Indexed -> usize -> Object fn nth_1( &self, i: usize, ) -> ObjResult<Object>; /// Indexed -> usize -> Object -> Object fn nth_2( &self, i: usize, notFound: Object, ) -> ObjResult<Object>; }