[][src]Trait zamm_yin::tao::archetype::AttributeArchetypeFormTrait

pub trait AttributeArchetypeFormTrait: ArchetypeTrait + FormTrait + Deref<Target = FinalNode> + DerefMut {
    pub fn set_owner_archetype(&mut self, owner_archetype: &Archetype) { ... }
pub fn owner_archetype(&self) -> Archetype { ... }
pub fn set_value_archetype(&mut self, value_archetype: &Archetype) { ... }
pub fn value_archetype(&self) -> Archetype { ... }
pub fn mark_nonhereditary_attr(&mut self) { ... }
pub fn is_nonhereditary_attr(&self) -> bool { ... }
pub fn mark_meta_attr(&mut self) { ... }
pub fn is_meta_attr(&self) -> bool { ... }
pub fn mark_multi_valued_attr(&mut self) { ... }
pub fn is_multi_valued_attr(&self) -> bool { ... } }

Archetype functionality that is specific to attribute archetypes.

Provided methods

pub fn set_owner_archetype(&mut self, owner_archetype: &Archetype)[src]

Restrict the owners for this type of attribute.

pub fn owner_archetype(&self) -> Archetype[src]

Retrieve the owner type for this type of attribute.

pub fn set_value_archetype(&mut self, value_archetype: &Archetype)[src]

Restrict the values for this type of attribute.

pub fn value_archetype(&self) -> Archetype[src]

Retrieve the value type for this type of attribute.

pub fn mark_nonhereditary_attr(&mut self)[src]

Mark this attribute as non-hereditary.

pub fn is_nonhereditary_attr(&self) -> bool[src]

Whether this represents a nonhereditary attribute.

pub fn mark_meta_attr(&mut self)[src]

Mark this attribute as meta.

pub fn is_meta_attr(&self) -> bool[src]

Whether this represents a meta attribute.

pub fn mark_multi_valued_attr(&mut self)[src]

Mark this attribute as accepting multiple values.

pub fn is_multi_valued_attr(&self) -> bool[src]

Whether this represents a multi-valued attribute.

Loading content...

Implementors

impl AttributeArchetypeFormTrait for AttributeArchetype[src]

Loading content...