pub struct Import {
pub symbols: Vec<String>,
pub module_name: String,
}Expand description
Import declaration (IMPORTS … FROM ModuleName)
Fields§
§symbols: Vec<String>Types imported from a module
module_name: StringModule name to import from
Trait Implementations§
impl StructuralPartialEq for Import
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Import
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