pyo3_stub_gen/
generate.rs1mod arg;
4mod class;
5mod deprecated;
6mod docstring;
7mod enum_;
8mod error;
9mod function;
10mod member;
11mod method;
12mod module;
13mod stub_info;
14mod variable;
15mod variant_methods;
16
17pub use arg::*;
18pub use class::*;
19pub use enum_::*;
20pub use error::*;
21pub use function::*;
22pub use member::*;
23pub use method::*;
24pub use module::*;
25pub use stub_info::*;
26pub use variable::*;
27
28use crate::stub_type::ModuleRef;
29use std::collections::HashSet;
30
31fn indent() -> &'static str {
32 " "
33}
34
35pub trait Import {
36 fn import(&self) -> HashSet<ModuleRef>;
37}