[−][src]Struct zamm_yin::tao::relation::attribute::has_property::HasProperty
Describes instances of an archetype as having certain other properties.
For example, a string may have a length of 5. But on a more meta level, that means that the string has a length property or length "attribute". That's where this attribute comes in.
Methods from Deref<Target = FinalNode>
pub fn inheritance_wrapper(&self) -> &InheritanceNode
[src]
Leak inheritance-level functionality.
pub fn base_wrapper(&self) -> &BaseNode
[src]
Leak base-level functionality.
Methods from Deref<Target = InheritanceNode>
pub fn base_wrapper(&self) -> &BaseNode
[src]
Leak base-level functionality.
Methods from Deref<Target = BaseNode>
Trait Implementations
impl ArchetypeTrait for HasProperty
[src]
type ArchetypeForm = AttributeArchetype
The Form that will be used to reason about this node and its children as archetypes and subtypes. Read more
type Form = HasProperty
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 AttributeTrait for HasProperty
[src]
type OwnerForm = Form
The Form representing the owner.
type ValueForm = Relation
The Form representing the value.
pub fn set_owner(&mut self, owner: &Self::OwnerForm)
[src]
pub fn owner(&self) -> Option<Self::OwnerForm>
[src]
pub fn set_value(&mut self, value: &Self::ValueForm)
[src]
pub fn value(&self) -> Option<Self::ValueForm>
[src]
impl Clone for HasProperty
[src]
pub fn clone(&self) -> HasProperty
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HasProperty
[src]
impl Debug for HasProperty
[src]
impl Deref for HasProperty
[src]
type Target = FinalNode
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl DerefMut for HasProperty
[src]
impl Eq for HasProperty
[src]
impl FormTrait for HasProperty
[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 is_individual(&self) -> bool
[src]
pub fn parents(&self) -> Vec<Archetype>
[src]
pub fn ancestry(&self) -> Vec<Archetype>
[src]
pub fn has_parent(&self, possible_ancestor: Archetype) -> bool
[src]
pub fn has_ancestor(&self, possible_ancestor: Archetype) -> bool
[src]
pub fn meta(&self) -> Self::ArchetypeForm
[src]
pub fn meta_archetype(&self) -> Archetype
[src]
pub fn specific_meta(&mut self) -> Archetype
[src]
pub fn has_specific_meta(&self) -> bool
[src]
pub fn set_meta_archetype(&mut self, archetype: &Archetype)
[src]
pub fn mark_individual(&mut self)
[src]
impl From<FinalNode> for HasProperty
[src]
impl From<HasAttribute> for HasProperty
[src]
pub fn from(this: HasAttribute) -> HasProperty
[src]
impl From<HasFlag> for HasProperty
[src]
pub fn from(this: HasFlag) -> HasProperty
[src]
impl From<HasProperty> for Tao
[src]
pub fn from(this: HasProperty) -> Tao
[src]
impl From<HasProperty> for Relation
[src]
pub fn from(this: HasProperty) -> Relation
[src]
impl From<HasProperty> for Attribute
[src]
pub fn from(this: HasProperty) -> Attribute
[src]
impl From<usize> for HasProperty
[src]
impl Hash for HasProperty
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for HasProperty
[src]
pub fn cmp(&self, other: &HasProperty) -> 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<HasProperty> for HasProperty
[src]
pub fn eq(&self, other: &HasProperty) -> bool
[src]
pub fn ne(&self, other: &HasProperty) -> bool
[src]
impl PartialOrd<HasProperty> for HasProperty
[src]
pub fn partial_cmp(&self, other: &HasProperty) -> Option<Ordering>
[src]
pub fn lt(&self, other: &HasProperty) -> bool
[src]
pub fn le(&self, other: &HasProperty) -> bool
[src]
pub fn gt(&self, other: &HasProperty) -> bool
[src]
pub fn ge(&self, other: &HasProperty) -> bool
[src]
impl StructuralEq for HasProperty
[src]
impl StructuralPartialEq for HasProperty
[src]
impl<'a> TryFrom<&'a str> for HasProperty
[src]
Auto Trait Implementations
impl RefUnwindSafe for HasProperty
[src]
impl Send for HasProperty
[src]
impl Sync for HasProperty
[src]
impl Unpin for HasProperty
[src]
impl UnwindSafe for HasProperty
[src]
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: Deref + DerefMut,
<T as Deref>::Target: CommonNodeTrait,
[src]
T: Deref + DerefMut,
<T as Deref>::Target: CommonNodeTrait,
pub fn id(&Self) -> usize
[src]
pub fn set_internal_name(&mut Self, &str)
[src]
pub fn internal_name(&Self) -> Option<Rc<str>>
[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,