StrSliceIndex

Trait StrSliceIndex 

Source
pub trait StrSliceIndex<T> {
    // Required method
    fn index(&self, index: T) -> StrSlice;
}
Expand description

Trait for indexing a StrSlice (using the StrSlice::get method)

Required Methods§

Source

fn index(&self, index: T) -> StrSlice

Implementors§