pub struct Import {
pub name: String,
pub path: String,
pub pos: Pos,
}Expand description
An import: import Name from "path", which makes another design file usable
as an element.
Fields§
§name: StringThe name the imported design is used under, as an element’s name.
path: StringThe imported file’s path, as written.
pos: PosWhere import starts.
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