-
Version 0.16.0 - Windows
StableAll checks were successfulRust / build (push) Successful in 2m1sreleased this
2025-07-12 12:51:00 +02:00 | 0 commits to main since this release- BREAKING:
inherent, added in v0.15.1, has been removed. - BREAKING: the
Gridtrait has been split intoGridandGridMut.- As the name suggests, one is read only while the other can also write.
Gridpreviously required impls to provide panicing variants (get,set) and hat default implementations for the non-panicing variants (get_optional,set_optional). Now it is the other way around to avoid double checking.
- BREAKING: Some methods of structs have moved into methods of traits. See features.
- BREAKING:
CharGrid::load_utf8has been removed. - FEATURE: Added
WindowandWindowMutas 2D equivalents of a slice- They can be created for any
GridorGridMutand implement those traits themselves. - Windows are defined by their x- and y-ranges in the original grid.
- Windows into windows and zero-sized windows are both supported.
- They can be split into two horizontally or vertically.
- The contents can be copied into a new
ValueGrid. .windowand.window_muthelpers have been added to containers. For windows, those will also pre-compute the ranges while reducing type nesting.
- They can be created for any
- FEATURE: Moved
ValueGridmethodsget_col,set_col,get_rowandset_rowinto theGrid/GridMuttraits, making them available for windows and bitmaps as well. - FEATURE: Moved
CharGridmethodsget_col_str,set_col_str,get_row_strandset_row_strinto the newCharGridExt/CharGridMutExttraits, making them available for windows as well.
- BREAKING: