Struct wick_config::config::PackageConfig
source · pub struct PackageConfig { /* private fields */ }Expand description
The package details for an application or component.
Implementations§
source§impl PackageConfig
impl PackageConfig
pub fn files(&self) -> &[Glob]
pub fn set_files<T: Into<Glob>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn files_mut(&mut self) -> &mut Vec<Glob>
pub fn registry(&self) -> Option<&RegistryConfig>
pub fn set_registry<T: Into<Option<RegistryConfig>>>( &mut self, val: T ) -> &mut Self
pub fn registry_mut(&mut self) -> &mut Option<RegistryConfig>
Trait Implementations§
source§impl AssetManager for PackageConfig
impl AssetManager for PackageConfig
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for PackageConfig
impl Clone for PackageConfig
source§fn clone(&self) -> PackageConfig
fn clone(&self) -> PackageConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PackageConfig
impl Debug for PackageConfig
source§impl Default for PackageConfig
impl Default for PackageConfig
source§fn default() -> PackageConfig
fn default() -> PackageConfig
Returns the “default value” for a type. Read more
source§impl Serialize for PackageConfig
impl Serialize for PackageConfig
source§impl TryFrom<PackageConfig> for PackageDefinition
impl TryFrom<PackageConfig> for PackageDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<PackageDefinition> for PackageConfig
impl TryFrom<PackageDefinition> for PackageConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !RefUnwindSafe for PackageConfig
impl Send for PackageConfig
impl Sync for PackageConfig
impl Unpin for PackageConfig
impl !UnwindSafe for PackageConfig
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