Update cbindgen and enable MouseCursor::move

cbindgen 0.21 was released which contains https://github.com/eqrion/cbindgen/pull/724
which allow to use raw identifier in enums shared with C++.
So now we can have `MouseCursor.move` in slint  despite it being a rust keyword

Note that the strum macro also have trouble with the raw identifier, so we
take that in account in the conversion functions in the interpreter
This commit is contained in:
Olivier Goffart 2022-04-04 09:59:14 +02:00 committed by Olivier Goffart
parent c24a51aaba
commit 40c98d6d05
9 changed files with 17 additions and 5 deletions

View file

@ -216,6 +216,7 @@ impl TypeRegister {
"text",
"alias",
"copy",
"move",
"no-drop",
"not-allowed",
"grab",