pub struct ResolvedComponent {
pub html: String,
pub styles: Vec<String>,
pub script_setup: Option<String>,
pub module_imports: Vec<ResolvedModule>,
}Expand description
The result of resolving a .van file (with or without imports).
Fields§
§html: StringThe fully rendered HTML content.
styles: Vec<String>Collected CSS styles from this component and all descendants.
script_setup: Option<String>The <script setup> content (for signal generation).
module_imports: Vec<ResolvedModule>Resolved non-component module imports (.ts/.js files).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedComponent
impl RefUnwindSafe for ResolvedComponent
impl Send for ResolvedComponent
impl Sync for ResolvedComponent
impl Unpin for ResolvedComponent
impl UnsafeUnpin for ResolvedComponent
impl UnwindSafe for ResolvedComponent
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