[−][src]Struct zamm_yang::tao::archetype::rust_item_archetype::DataArchetype
Meta-object for Data meta-attributes.
Implementations
impl DataArchetype
[src]
pub fn is_unsized(&self) -> bool
[src]
Whether this is marked as having a known size at compile-time.
pub fn mark_unsized(&mut self)
[src]
Mark this as having a known size at compile-time.
pub fn default_value(&self) -> Option<Rc<str>>
[src]
Get the Rust code representation for the default value of this concept.
pub fn set_default_value(&mut self, default_value: &str)
[src]
Set the Rust code representation for the default value of this concept.
pub fn rust_primitive(&self) -> Option<Rc<str>>
[src]
Get the name of the Rust primitive that this concept represents.
pub fn set_rust_primitive(&mut self, rust_primitive: &str)
[src]
Set the name of the Rust primitive that this concept represents.
pub fn unboxed_representation(&self) -> Option<Rc<str>>
[src]
Get the unboxed version of this primitive.
pub fn set_unboxed_representation(&mut self, unboxed_representation: &str)
[src]
Set the unboxed version of this primitive.
pub fn dummy_value(&self) -> Option<Rc<str>>
[src]
Get the the Rust code representation for the dummy test value of this concept.
pub fn set_dummy_value(&mut self, dummy_value: &str)
[src]
Set the the Rust code representation for the dummy test value of this concept.
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 ArchetypeFormTrait for DataArchetype
[src]
type SubjectForm = Data
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 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(&mut self, attribute_type: &AttributeArchetype)
[src]
pub fn added_attributes(&self) -> Vec<AttributeArchetype, Global>
[src]
pub fn attributes(&self) -> Vec<AttributeArchetype, Global>
[src]
pub fn has_attribute(&self, possible_type: &AttributeArchetype) -> bool
[src]
pub fn mesa_archetype(&self) -> Archetype
[src]
pub fn flags(&self) -> Vec<Archetype, Global>
[src]
pub fn has_flag(&self, possible_type: &Archetype) -> bool
[src]
pub fn add_flag(&mut self, attribute_type: &Archetype)
[src]
pub fn added_flags(&self) -> Vec<Archetype, Global>
[src]
impl ArchetypeTrait for DataArchetype
[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 = DataArchetype
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 DataArchetype
[src]
pub fn clone(&self) -> DataArchetype
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DataArchetype
[src]
impl Debug for DataArchetype
[src]
impl Deref for DataArchetype
[src]
type Target = FinalNode
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl DerefMut for DataArchetype
[src]
impl Eq for DataArchetype
[src]
impl FormTrait for DataArchetype
[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, 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 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<DataArchetype> for Tao
[src]
pub fn from(this: DataArchetype) -> Tao
[src]
impl From<DataArchetype> for Archetype
[src]
pub fn from(this: DataArchetype) -> Archetype
[src]
impl From<DataArchetype> for RustItemArchetype
[src]
pub fn from(this: DataArchetype) -> RustItemArchetype
[src]
impl From<FinalNode> for DataArchetype
[src]
impl From<usize> for DataArchetype
[src]
impl Hash for DataArchetype
[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 DataArchetype
[src]
pub fn cmp(&self, other: &DataArchetype) -> 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<DataArchetype> for DataArchetype
[src]
pub fn eq(&self, other: &DataArchetype) -> bool
[src]
pub fn ne(&self, other: &DataArchetype) -> bool
[src]
impl PartialOrd<DataArchetype> for DataArchetype
[src]
pub fn partial_cmp(&self, other: &DataArchetype) -> Option<Ordering>
[src]
pub fn lt(&self, other: &DataArchetype) -> bool
[src]
pub fn le(&self, other: &DataArchetype) -> bool
[src]
pub fn gt(&self, other: &DataArchetype) -> bool
[src]
pub fn ge(&self, other: &DataArchetype) -> bool
[src]
impl StructuralEq for DataArchetype
[src]
impl StructuralPartialEq for DataArchetype
[src]
impl<'a> TryFrom<&'a str> for DataArchetype
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataArchetype
[src]
impl Send for DataArchetype
[src]
impl Sync for DataArchetype
[src]
impl Unpin for DataArchetype
[src]
impl UnwindSafe for DataArchetype
[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, name: &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,