Struct archetect_core::config::ArchetypeConfig [−][src]
pub struct ArchetypeConfig { /* fields omitted */ }
Implementations
impl ArchetypeConfig
[src]
impl ArchetypeConfig
[src]pub fn new() -> ArchetypeConfig
[src]
pub fn load<P: Into<PathBuf>>(
path: P
) -> Result<ArchetypeConfig, ArchetypeError>
[src]
path: P
) -> Result<ArchetypeConfig, ArchetypeError>
pub fn with_description(self, description: &str) -> ArchetypeConfig
[src]
pub fn add_author(&mut self, author: &str)
[src]
pub fn with_author(self, author: &str) -> ArchetypeConfig
[src]
pub fn authors(&self) -> &[String]
[src]
pub fn with_language(self, language: &str) -> ArchetypeConfig
[src]
pub fn add_language(&mut self, language: &str)
[src]
pub fn languages(&self) -> &[String]
[src]
pub fn with_tag(self, tag: &str) -> ArchetypeConfig
[src]
pub fn add_tag(&mut self, tag: &str)
[src]
pub fn tags(&self) -> &[String]
[src]
pub fn with_framework(self, framework: &str) -> ArchetypeConfig
[src]
pub fn add_framework(&mut self, framework: &str)
[src]
pub fn frameworks(&self) -> &[String]
[src]
pub fn with_action(self, action: ActionId) -> ArchetypeConfig
[src]
pub fn add_action(&mut self, action: ActionId)
[src]
pub fn actions(&self) -> &[ActionId]
[src]
Trait Implementations
impl Debug for ArchetypeConfig
[src]
impl Debug for ArchetypeConfig
[src]impl Default for ArchetypeConfig
[src]
impl Default for ArchetypeConfig
[src]impl<'de> Deserialize<'de> for ArchetypeConfig
[src]
impl<'de> Deserialize<'de> for ArchetypeConfig
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ArchetypeConfig
[src]
impl Serialize for ArchetypeConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for ArchetypeConfig
impl Send for ArchetypeConfig
impl Sync for ArchetypeConfig
impl Unpin for ArchetypeConfig
impl UnwindSafe for ArchetypeConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,