Module traitsequence::interface
source · Expand description
The traits abstracting over a sequence.
Traits
- A type behaving like an cloneable sequence over the type
Item. Currently this only means the sequence isToOwned. - A type behaving like a sequence over the type
Itemthat can be edited. This sequences items can not necessarily be mutated themselves, but they can be rearranged or new items can be appended etc. For a sequence where the items themselves can be mutated, see SequenceMut. - A type behaving like an owned sequence over the type
Item. Currently this only means the sequence isSized. - A type behaving like a sequence over the type
Item. - A type behaving like a mutable sequence over the type
Item. That is, its items can be mutated, but the sequence it self can not. For a sequence where items can be appended, rearranged etc. see EditableSequence.