19 lines
194 B
Rust
19 lines
194 B
Rust
use pyo3::prelude::*;
|
|
|
|
#[pyclass(subclass)]
|
|
enum NotBaseClass {
|
|
X,
|
|
Y,
|
|
}
|
|
|
|
#[pyclass(extends = PyList)]
|
|
enum NotDrivedClass {
|
|
X,
|
|
Y,
|
|
}
|
|
|
|
#[pyclass]
|
|
enum NoEmptyEnum {}
|
|
|
|
fn main() {}
|