pub struct ImportNode {
pub module_path: Vec<String>,
pub names: Vec<String>,
pub allow_downgrade: bool,
pub loc: Loc,
pub leading_trivia: Vec<Trivia>,
pub trailing_trivia: Vec<Trivia>,
}Fields§
§module_path: Vec<String>§names: Vec<String>§allow_downgrade: boolv2.76.0 — the @allow_downgrade ECC valve: acknowledges an
epistemic downgrade across this import edge (silences axon-W017,
downgrades axon-T954 to a visible axon-W017). false for
every import written before v2.76.0.
loc: Loc§leading_trivia: Vec<Trivia>v1.5.2 — leading comment trivia attached to this declaration (comments preceding the declaration’s first token, since the previous declaration or file start). Empty by default.
trailing_trivia: Vec<Trivia>v1.5.2 — trailing comment trivia (same line as the declaration’s last effective token). Empty by default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImportNode
impl RefUnwindSafe for ImportNode
impl Send for ImportNode
impl Sync for ImportNode
impl Unpin for ImportNode
impl UnsafeUnpin for ImportNode
impl UnwindSafe for ImportNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more