14 lines
175 B
Rust
14 lines
175 B
Rust
|
use pyo3::prelude::*;
|
||
|
|
||
|
#[pyclass]
|
||
|
struct MyClass {}
|
||
|
|
||
|
#[pymethods]
|
||
|
impl MyClass {
|
||
|
fn __truediv__(&self, _py: Python) -> PyResult<()> {
|
||
|
Ok(())
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|