Lukas Jung
cd52beb85e
tutorial: clone() the tiles_model step 6 already like the explanation says
2022-03-09 14:10:45 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Tobias Hunger
cc3994b58d
Rename rust API
2022-02-02 13:26:35 +01:00
Olivier Goffart
929166f06c
Change what is accepted by ModelRc::new and ModelRc::from
...
- ModelRc::new constructs a ModelRc from a impl Model
- ModelRc::form constructs a ModelRc from a `Rc<dyn Model>` or `Rc<impl Model>`
2022-01-31 14:44:35 +01:00
Tobias Hunger
018c1a6666
Rename ModelHandle to SharedModel
...
This patch is mostly a rename now, but also contains a few small
cleanups.
SharedModel implements the Model trait itself and gracefully falls back
to an empty model is no Model was provided. This allows for some small
simplifications.
Also make sure to use the same comparision for SharedModels everywhere.
This fixes the last remaining clippy errors we had.
2022-01-30 01:26:35 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Tobias Hunger
c7d27d5ace
Janitor: Fix clippy::redundant_clone
2021-08-18 00:24:51 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Simon Hausmann
7b95371c78
Move the Rust tutorial into a sub-directory
...
To make room for the C++ version next to it :-)
2021-06-17 11:04:43 +02:00