pub struct VanImport {
pub name: String,
pub tag_name: String,
pub path: String,
}Expand description
Represents an import from a <script setup> block.
Fields§
§name: StringThe imported identifier, e.g. DefaultLayout
tag_name: StringThe kebab-case tag name, e.g. default-layout
path: StringThe import path, e.g. ../layouts/default.van
Trait Implementations§
impl StructuralPartialEq for VanImport
Auto Trait Implementations§
impl Freeze for VanImport
impl RefUnwindSafe for VanImport
impl Send for VanImport
impl Sync for VanImport
impl Unpin for VanImport
impl UnsafeUnpin for VanImport
impl UnwindSafe for VanImport
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