[−][src]Struct zamm_yin::concepts::archetype::attribute::AttributeArchetype
Archetype representing attributes.
This can only be used to represent attribute archetypes, so unlike Archetype
which can
represent all archetypes including its own archetype because it's an archetype too,
AttributeArchetype is not an attribute and therefore it cannot be used to represent its own
archetype.
Implementations
impl AttributeArchetype
[src]
pub fn as_archetype(&self) -> Archetype
[src]
Forget everything about this, except that it's an ArchetypeForm.
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.
Trait Implementations
impl<'a> ArchetypeFormTrait<'a, AttributeArchetype, Attribute> for AttributeArchetype
[src]
fn as_archetype(&self) -> Archetype
[src]
fn individuate_as_archetype(&self) -> A
[src]
fn individuate_as_form(&self) -> F
[src]
fn individuals(&self) -> Vec<F>
[src]
fn child_archetypes(&self) -> Vec<A>
[src]
fn add_attribute_type(&mut self, attribute_type: AttributeArchetype)
[src]
fn introduced_attribute_types(&self) -> Vec<AttributeArchetype>
[src]
impl<'a> ArchetypeTrait<'a, AttributeArchetype> for AttributeArchetype
[src]
const TYPE_ID: usize
[src]
const TYPE_NAME: &'static str
[src]
const PARENT_TYPE_ID: usize
[src]
fn individuate_with_parent(parent_id: usize) -> Self
[src]
fn archetype() -> Archetype
[src]
fn individuate() -> F
[src]
fn individuate_as_archetype() -> Archetype
[src]
impl<'a> AttributeArchetypeTrait<'a, AttributeArchetype, Attribute> for Attribute
[src]
fn attribute_archetype() -> A
[src]
fn individuate_as_attribute_archetype() -> A
[src]
impl Clone for AttributeArchetype
[src]
fn clone(&self) -> AttributeArchetype
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CommonNodeTrait for AttributeArchetype
[src]
fn id(&self) -> usize
[src]
fn set_internal_name(&mut self, name: String)
[src]
fn internal_name(&self) -> Option<Rc<String>>
[src]
impl Copy for AttributeArchetype
[src]
impl Debug for AttributeArchetype
[src]
impl Eq for AttributeArchetype
[src]
impl FormTrait for AttributeArchetype
[src]
fn essence(&self) -> &FinalNode
[src]
fn essence_mut(&mut self) -> &mut FinalNode
[src]
fn ego_death(&self) -> Tao
[src]
fn add_parent(&mut self, parent: Archetype)
[src]
fn parents(&self) -> Vec<Archetype>
[src]
fn ancestry(&self) -> Vec<Archetype>
[src]
fn has_parent(&self, possible_ancestor: Archetype) -> bool
[src]
fn has_ancestor(&self, possible_ancestor: Archetype) -> bool
[src]
fn attribute_archetypes(&self) -> Vec<AttributeArchetype>
[src]
fn has_attribute_type(&self, possible_type: AttributeArchetype) -> bool
[src]
impl From<FinalNode> for AttributeArchetype
[src]
impl From<usize> for AttributeArchetype
[src]
impl Hash for AttributeArchetype
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for AttributeArchetype
[src]
fn cmp(&self, other: &AttributeArchetype) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AttributeArchetype> for AttributeArchetype
[src]
fn eq(&self, other: &AttributeArchetype) -> bool
[src]
fn ne(&self, other: &AttributeArchetype) -> bool
[src]
impl PartialOrd<AttributeArchetype> for AttributeArchetype
[src]
fn partial_cmp(&self, other: &AttributeArchetype) -> Option<Ordering>
[src]
fn lt(&self, other: &AttributeArchetype) -> bool
[src]
fn le(&self, other: &AttributeArchetype) -> bool
[src]
fn gt(&self, other: &AttributeArchetype) -> bool
[src]
fn ge(&self, other: &AttributeArchetype) -> bool
[src]
impl StructuralEq for AttributeArchetype
[src]
impl StructuralPartialEq for AttributeArchetype
[src]
impl<'a> TryFrom<&'a str> for AttributeArchetype
[src]
Auto Trait Implementations
impl RefUnwindSafe for AttributeArchetype
impl Send for AttributeArchetype
impl Sync for AttributeArchetype
impl Unpin for AttributeArchetype
impl UnwindSafe for AttributeArchetype
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
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.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,