pub struct CollectedAssets {
pub css: Vec<Asset>,
pub js: Vec<Asset>,
pub init_scripts: Vec<String>,
}Expand description
Collected and deduplicated assets from all plugins used on a page.
Fields§
§css: Vec<Asset>CSS <link> tags for <head>.
js: Vec<Asset>JS <script> tags for before </body>.
init_scripts: Vec<String>Inline init scripts to emit after JS assets.
Auto Trait Implementations§
impl Freeze for CollectedAssets
impl RefUnwindSafe for CollectedAssets
impl Send for CollectedAssets
impl Sync for CollectedAssets
impl Unpin for CollectedAssets
impl UnsafeUnpin for CollectedAssets
impl UnwindSafe for CollectedAssets
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