pub struct PageAssets {
pub html: String,
pub assets: HashMap<String, String>,
}Expand description
Result of compiling a .van page with separated assets.
Fields§
§html: StringHTML with external <link>/<script src> references (no inline CSS/JS)
assets: HashMap<String, String>Asset path → content (e.g. “/themes/van1/assets/js/pages/index.js” → “var Van=…”)
Auto Trait Implementations§
impl Freeze for PageAssets
impl RefUnwindSafe for PageAssets
impl Send for PageAssets
impl Sync for PageAssets
impl Unpin for PageAssets
impl UnsafeUnpin for PageAssets
impl UnwindSafe for PageAssets
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