mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Upgrade to PyO3 0.24
The main change is that Rust paths are mapped to pathlib.Path, which changes our API (stricter).
This commit is contained in:
parent
0c51f69b0a
commit
826ad7a865
10 changed files with 51 additions and 51 deletions
|
|
@ -9,10 +9,9 @@ use pyo3_stub_gen::{
|
|||
/// The TimerMode specifies what should happen after the timer fired.
|
||||
///
|
||||
/// Used by the `Timer.start()` function.
|
||||
#[derive(Copy, Clone)]
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
#[gen_stub_pyclass_enum]
|
||||
#[pyclass(name = "TimerMode", eq, eq_int)]
|
||||
#[derive(PartialEq)]
|
||||
pub enum PyTimerMode {
|
||||
/// A SingleShot timer is fired only once.
|
||||
SingleShot,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue