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() {}
|