[][src]Trait zamm_yin::tao::form::FormTrait

pub trait FormTrait: Wrapper<BaseType = FinalNode> {
    pub fn ego_death(&self) -> Tao { ... }
pub fn as_form(&self) -> Form { ... }
pub fn add_parent(&mut self, parent: Archetype) { ... }
pub fn parents(&self) -> Vec<Archetype> { ... }
pub fn ancestry(&self) -> Vec<Archetype> { ... }
pub fn has_parent(&self, possible_ancestor: Archetype) -> bool { ... }
pub fn has_ancestor(&self, possible_ancestor: Archetype) -> bool { ... }
pub fn attribute_archetypes(&self) -> Vec<AttributeArchetype> { ... }
pub fn has_attribute_type(&self, possible_type: AttributeArchetype) -> bool { ... } }

All forms are derived from archetypes. All forms, by their very existence, are capable of the following interactions.

Provided methods

pub fn ego_death(&self) -> Tao[src]

Jung called, and you answered. It is time to let go of your individuality and return to the Oneness from which you once came. There is no life or death, there is no existence or non-existence, there is no form or abstraction. Forget all preconceptions, blur all boundaries, be at peace with the universe again.

pub fn as_form(&self) -> Form[src]

A less severe form of ego-death, where you still remember that you exist.

pub fn add_parent(&mut self, parent: Archetype)[src]

Set a parent archetype. The current archetype will inherit all attributes of the parent archetype.

pub fn parents(&self) -> Vec<Archetype>[src]

Get all direct parent archetypes of this concept.

pub fn ancestry(&self) -> Vec<Archetype>[src]

Get the shortest chain of ancestors that leads back to Tao, starting with Tao itself.

pub fn has_parent(&self, possible_ancestor: Archetype) -> bool[src]

Checks to see if another archetype is a direct parent of this one.

pub fn has_ancestor(&self, possible_ancestor: Archetype) -> bool[src]

Checks to see if another archetype is an ancestor of this one. If so, the current archetype will inherit all attributes of the ancestor.

pub fn attribute_archetypes(&self) -> Vec<AttributeArchetype>[src]

Get all the types of attributes that this concept is predefined to potentially have.

pub fn has_attribute_type(&self, possible_type: AttributeArchetype) -> bool[src]

Checks to see if an archetype is one of the possible attribute types this concept could have.

Loading content...

Implementors

impl FormTrait for Archetype[src]

impl FormTrait for AttributeArchetype[src]

impl FormTrait for Data[src]

impl FormTrait for Number[src]

impl FormTrait for StringConcept[src]

impl FormTrait for Form[src]

impl FormTrait for Attribute[src]

impl FormTrait for DefaultValue[src]

impl FormTrait for HasProperty[src]

impl FormTrait for Inherits[src]

impl FormTrait for Owner[src]

impl FormTrait for OwnerArchetype[src]

impl FormTrait for Value[src]

impl FormTrait for ValueArchetype[src]

impl FormTrait for Flag[src]

impl FormTrait for Relation[src]

Loading content...