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
Required methods
fn get(self, tstring: &TermString) -> Option<Self::Output>
fn get(self, tstring: &TermString) -> Option<Self::Output>
Tries to index the TermString
and returns None
if out of bounds.