pub struct PackerConfig {
pub runtime: RuntimeConfig,
pub meta: Option<MetaConfig>,
pub favicon: Option<Vec<AssetSource>>,
pub styles: Option<Vec<AssetSource>>,
pub scripts: Option<Vec<AssetSource>>,
pub wasm: Option<Vec<WasmModule>>,
}Fields§
§runtime: RuntimeConfig§meta: Option<MetaConfig>§favicon: Option<Vec<AssetSource>>§styles: Option<Vec<AssetSource>>§scripts: Option<Vec<AssetSource>>§wasm: Option<Vec<WasmModule>>Trait Implementations§
Source§impl Debug for PackerConfig
impl Debug for PackerConfig
Source§impl Default for PackerConfig
impl Default for PackerConfig
Source§impl<'de> Deserialize<'de> for PackerConfig
impl<'de> Deserialize<'de> for PackerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PackerConfig
impl RefUnwindSafe for PackerConfig
impl Send for PackerConfig
impl Sync for PackerConfig
impl Unpin for PackerConfig
impl UnsafeUnpin for PackerConfig
impl UnwindSafe for PackerConfig
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