ruff/crates/ruff_python_semantic/src/star_import.rs
2024-04-26 20:38:35 -06:00

7 lines
245 B
Rust

#[derive(Debug, Clone)]
pub struct StarImport<'a> {
/// The level of the import. `0` indicates an absolute import.
pub level: u32,
/// The module being imported. `None` indicates a wildcard import.
pub module: Option<&'a str>,
}