pub struct Imports {
pub code: Vec<String>,
pub spaces: Vec<String>,
pub space_aliases: Vec<(String, String)>,
}Expand description
What main declares it calls.
Fields§
§code: Vec<String>Member aliases.
spaces: Vec<String>Space names (space:NAME, or the NAME of space:NAME as ALIAS).
space_aliases: Vec<(String, String)>(the name main calls it by, the space): space:NAME calls NAME, and
space:NAME as ALIAS calls ALIAS (what a renamed import keeps main calling).
Trait Implementations§
impl StructuralPartialEq for Imports
Auto Trait Implementations§
impl Forget for Imports
impl Freeze for Imports
impl Move for Imports
impl RefUnwindSafe for Imports
impl Send for Imports
impl Sync for Imports
impl Unpin for Imports
impl UnsafeUnpin for Imports
impl UnwindSafe for Imports
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