cursive/src
Chris Vest 88037717e6 Add a sort method to SelectView, to easily sort all contained items lexicographically by their label. (#329)
* Add a sort method to SelectView, to easily sort all contained items lexicographically by their label.

* Add more sort methods to SelectView, bringing the API up to parity with Vec (except SelectView does not expose _unstable_ sorting).

* Rename SelectView::sort to sort_by_label to make it clear that it does not sort by the ordering of the items.

* The Ord implementation for select_view::Item is not necessary.

* Implement a SelectView::sort method for when the item values are orderable.
2019-03-30 10:22:08 -07:00
..
backend Use hashbrown::HashMap 2019-03-16 16:16:30 -07:00
theme Use hashbrown::HashMap 2019-03-16 16:16:30 -07:00
utils Fix spans tests 2019-03-20 17:08:03 -07:00
view Add manual scroll methods to scroll::Core 2019-03-12 15:42:36 -07:00
views Add a sort method to SelectView, to easily sort all contained items lexicographically by their label. (#329) 2019-03-30 10:22:08 -07:00
align.rs Fix clippy warnings 2018-05-17 17:35:57 -07:00
cursive.rs Add Cursive::set_fps 2019-03-28 17:33:15 -07:00
direction.rs Update to Rust 2018 2019-02-28 15:54:12 -08:00
div.rs Remove debug lines 2017-10-12 12:30:59 -07:00
event.rs Remove "extern crate" and rustfmt 2019-02-28 16:04:14 -08:00
lib.rs Refactor scroll::Core mechanism. 2019-03-12 14:31:56 -07:00
logger.rs Move logic from ScrollView to ScrollCore 2019-03-04 20:08:40 -08:00
menu.rs Fix clippy warnings 2019-03-04 10:31:36 -08:00
printer.rs Skip width computation in print_styled 2019-03-20 16:57:48 -07:00
rect.rs Remove "extern crate" and rustfmt 2019-02-28 16:04:14 -08:00
traits.rs Update to Rust 2018 2019-02-28 15:54:12 -08:00
utf8.rs Fix clippy warnings 2019-03-04 10:31:36 -08:00
vec.rs Fix clippy warnings 2019-03-04 10:31:36 -08:00
with.rs Add vpv example 2018-04-10 11:46:02 -07:00
xy.rs Update to Rust 2018 2019-02-28 15:54:12 -08:00