mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-29 11:07:37 +00:00
When converting a ModelRc<T> to a Value, the resulting model did not
implement set_row_data and therefore would not allow changing the model
from the code.
By adding a `TryFrom` bound, we can make sure set_row_data is
implemented.
This is technically a breaking change to add this bound, but most type
that implement From for value also implement TryFrom<Value>
These conversion function were added in
|
||
|---|---|---|
| .. | ||
| LICENSES | ||
| api.rs | ||
| Cargo.toml | ||
| dynamic_item_tree.rs | ||
| dynamic_type.rs | ||
| eval.rs | ||
| eval_layout.rs | ||
| ffi.rs | ||
| global_component.rs | ||
| highlight.rs | ||
| json.rs | ||
| lib.rs | ||
| migration.rs | ||
| tests.rs | ||
| value_model.rs | ||