mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
8 lines
268 B
Rust
8 lines
268 B
Rust
#[derive(Debug, Clone)]
|
|
pub struct StarImport<'a> {
|
|
/// The level of the import. `None` or `Some(0)` indicate an absolute import.
|
|
pub level: Option<u32>,
|
|
/// The module being imported. `None` indicates a wildcard import.
|
|
pub module: Option<&'a str>,
|
|
}
|