☰
Debian Codegraph
@
1.12.0+dfsg-2
1.12.0+dfsg-1
/
/
examples
/
rust_with_cffi
/
rust
/
lib.rs
☽
☼
examples/rust_with_cffi/rust/lib.rs
code
plain
raw
Expat
2017-2018 PyO3 project & contributors
debian/copyright
1
use pyo3::prelude::*;
2
3
#[pymodule]
4
mod rust {
5
use pyo3::prelude::*;
6
7
#[pyfunction]
8
fn rust_func() -> PyResult<u64> {
9
return Ok(14);
10
}
11
}