[][src]Module stringsext::helper

This module contains general helper traits.

Structs

Iter

A struct to hold the iterator's state Our state is a bool telling if this is the first element.

Traits

IdentifyFirstLast

This trait defines the iterator adapter identify_first_last(). The new iterator gives a tuple with an (element, is_first, is_last). is_first is true when element is the first we are iterating over. is_last is true when element is the last and no others follow.