Skip to main contentModule sequence_extensions
Source - RangeGenerator
- Provides the range-generation entry point.
- All
- Provides a predicate that checks whether every item matches.
- Any
- Provides a predicate that checks whether at least one item matches.
- ElementAtOrDefault
- Provides indexed lookup with a default value when the index is out of range.
- FirstOrDefault
- Provides first-item lookup with a default value for an empty sequence.
- GroupByOwned
- Groups items into owned vectors keyed by a selector result.
- LastOrDefault
- Provides last-item lookup with a default value for an empty sequence.
- RangeOwned
- Creates an owned sequence of consecutive
i32 values. - ReverseOwned
- Provides an owned reverse-order copy of a sequence.
- SkipOwned
- SkipTakeOwned
- Provides owned subsequences by consuming a vector.
- TakeOwned
- Returns an owned slice of the start of a vector.
Provides owned start of the provided vector.
- TakeRef
- Returns a borrowed start of a slice, defined by a given size of number of items to take
Provides borrowed views over the beginning of a slice.