Trait andiskaz::string::Index[][src]

pub trait Index {
    type Output;
    fn get(self, tstring: &TermString) -> Option<Self::Output>;
fn index(self, tstring: &TermString) -> Self::Output; }
Expand description

Specifies usable indices for a TermString.

Associated Types

Output of the indexing operation.

Required methods

Tries to index the TermString and returns None if out of bounds.

Indexes the TermString or panics if out of bounds.

Panics

Panics if out of bounds.

Implementations on Foreign Types

Implementors