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 Forget for Import
impl Freeze for Import
impl Move for Import
impl RefUnwindSafe for Import
impl Send for Importwhere
RawVecInner: Send,
impl Sync for Importwhere
RawVecInner: Sync,
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Importwhere
RawVecInner: UnwindSafe,
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