[][src]Trait zamm_yang::tao::archetype::CreateImplementation

pub trait CreateImplementation: FormTrait + CommonNodeTrait {
    pub fn implement(&self) -> Implement { ... }
pub fn implement_with_doc(&self, doc: &str) -> Implement { ... }
pub fn impl_mod(&self, doc: &str) -> Module { ... }
pub fn implement_with(&self, id: usize, doc: &str) -> Implement { ... }
pub fn build_info(&self) -> BuildInfo { ... } }

Convenience trait for creating a new implementation of a concept.

Provided methods

pub fn implement(&self) -> Implement[src]

Create a new implementation for a concept.

pub fn implement_with_doc(&self, doc: &str) -> Implement[src]

Implement this concept with the given documentation string.

pub fn impl_mod(&self, doc: &str) -> Module[src]

Implement the module for this concept.

pub fn implement_with(&self, id: usize, doc: &str) -> Implement[src]

👎 Deprecated since 0.1.1:

Please use implement_with_doc instead, and leave the ID up to the program.

Create a new implementation with the specified ID and documentation string.

pub fn build_info(&self) -> BuildInfo[src]

Look at this concept through the BuildInfo lens.

Loading content...

Implementors

impl CreateImplementation for Archetype[src]

impl CreateImplementation for AttributeArchetype[src]

Loading content...