Function librsnek::objects::collection::sequence::get_index [] [src]

pub fn get_index<'a, T>(seq: &'a [T], index: &ToPrimitive) -> Result<T, Error> where
    T: Clone

Get index using the normal +/- indexing rules