[−][src]Struct zamm_yang::tao::archetype::Archetype
Represents patterns found across an entire class of concepts.
Trait Implementations
impl<'a> ArchetypeFormTrait<'a> for Archetype
[src]
type SubjectForm = Form
The ArchetypeTrait as defined for an Archetype will have an Archetype-based Form for reasoning about other nodes as archetypes. The Archetype's Form is the observer, and the subject under observation will have a different type for its leaves. This subject's Form should therefore be the most specific FormTrait that is still general enough to represent everything this ArchetypeTrait can observe. Read more
pub fn as_archetype(&self) -> Archetype
[src]
pub fn individuate_as_archetype(&self) -> Self::Form
[src]
pub fn individuate_as_form(&self) -> Self::SubjectForm
[src]
pub fn individuals(&self) -> Vec<Self::SubjectForm, Global>
[src]
pub fn child_archetypes(&self) -> Vec<Self::Form, Global>
[src]
pub fn add_attribute_type(&mut self, attribute_type: AttributeArchetype)
[src]
pub fn introduced_attribute_archetypes(&self) -> Vec<AttributeArchetype, Global>
[src]
impl<'a> ArchetypeTrait<'a> for Archetype
[src]
type ArchetypeForm = Archetype
The Form that will be used to reason about this node and its children as archetypes and subtypes. Read more
type Form = Archetype
The Form that will be used to reason about this node's leaves as individuals. Unless you
are the Tao, this should be the same as the type that ArchetypeTrait
is being implemented
on. Read more
pub const TYPE_ID: usize
[src]
pub const TYPE_NAME: &'static str
[src]
pub const PARENT_TYPE_ID: usize
[src]
pub fn archetype() -> Self::ArchetypeForm
[src]
pub fn new() -> Self::Form
[src]
impl Clone for Archetype
[src]
impl CodegenFlags for Archetype
[src]
pub fn mark_newly_defined(&mut self)
[src]
pub fn is_newly_defined(&self) -> bool
[src]
pub fn activate_root_node_logic(&mut self)
[src]
pub fn root_node_logic_activated(&self) -> bool
[src]
pub fn activate_attribute_logic(&mut self)
[src]
pub fn attribute_logic_activated(&self) -> bool
[src]
pub fn activate_data_logic(&mut self)
[src]
pub fn data_logic_activated(&self) -> bool
[src]
pub fn mark_own_module(&mut self)
[src]
pub fn force_own_module(&self) -> bool
[src]
impl Copy for Archetype
[src]
impl CreateImplementation for Archetype
[src]
pub fn implement(&self) -> Implement
[src]
pub fn implement_with_doc(&self, doc: &str) -> Implement
[src]
pub fn impl_mod(&self, doc: &str) -> Module
[src]
pub fn implement_with(&self, id: usize, doc: &str) -> Implement
[src]
pub fn build_info(&self) -> BuildInfo
[src]
impl DataExtension for Archetype
[src]
pub fn set_rust_primitive(&mut self, primitive_name: &str)
[src]
pub fn rust_primitive(&self) -> Option<Rc<str>>
[src]
pub fn set_default_value(&mut self, default_value_as_code: &str)
[src]
pub fn default_value(&self) -> Option<Rc<str>>
[src]
impl Debug for Archetype
[src]
impl DefinedMarker for Archetype
[src]
pub fn set_owner_archetype(&mut self, owner_archetype: Archetype)
[src]
pub fn owner_archetype(&mut self) -> Archetype
[src]
pub fn set_value_archetype(&mut self, value_archetype: Archetype)
[src]
pub fn value_archetype(&mut self) -> Archetype
[src]
impl Eq for Archetype
[src]
impl FormTrait for Archetype
[src]
pub fn ego_death(&self) -> Tao
[src]
pub fn as_form(&self) -> Form
[src]
pub fn add_parent(&mut self, parent: Archetype)
[src]
pub fn parents(&self) -> Vec<Archetype, Global>
[src]
pub fn ancestry(&self) -> Vec<Archetype, Global>
[src]
pub fn has_parent(&self, possible_ancestor: Archetype) -> bool
[src]
pub fn has_ancestor(&self, possible_ancestor: Archetype) -> bool
[src]
pub fn attribute_archetypes(&self) -> Vec<AttributeArchetype, Global>
[src]
pub fn has_attribute_type(&self, possible_type: AttributeArchetype) -> bool
[src]
impl From<FinalNode> for Archetype
[src]
impl From<usize> for Archetype
[src]
impl Hash for Archetype
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Archetype
[src]
pub fn cmp(&self, other: &Archetype) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Archetype> for Archetype
[src]
impl PartialOrd<Archetype> for Archetype
[src]
pub fn partial_cmp(&self, other: &Archetype) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Archetype) -> bool
[src]
pub fn le(&self, other: &Archetype) -> bool
[src]
pub fn gt(&self, other: &Archetype) -> bool
[src]
pub fn ge(&self, other: &Archetype) -> bool
[src]
impl StructuralEq for Archetype
[src]
impl StructuralPartialEq for Archetype
[src]
impl<'a> TryFrom<&'a str> for Archetype
[src]
type Error = String
The type returned in the event of a conversion error.
pub fn try_from(
name: &'a str
) -> Result<Archetype, <Archetype as TryFrom<&'a str>>::Error>
[src]
name: &'a str
) -> Result<Archetype, <Archetype as TryFrom<&'a str>>::Error>
impl Wrapper for Archetype
[src]
Auto Trait Implementations
impl RefUnwindSafe for Archetype
impl Send for Archetype
impl Sync for Archetype
impl Unpin for Archetype
impl UnwindSafe for Archetype
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CommonNodeTrait for T where
T: Wrapper,
<T as Wrapper>::BaseType: CommonNodeTrait,
[src]
T: Wrapper,
<T as Wrapper>::BaseType: CommonNodeTrait,
pub fn id(&self) -> usize
[src]
pub fn set_internal_name_str(&mut self, name: &str)
[src]
pub fn internal_name_str(&self) -> Option<Rc<str>>
[src]
pub fn set_internal_name(&mut self, name: String)
[src]
pub fn internal_name(&self) -> Option<Rc<String>>
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,