[][src]Struct zamm_yang::tao::archetype::rust_item_archetype::DataArchetype

pub struct DataArchetype { /* fields omitted */ }

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

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

impl Clone for DataArchetype[src]

impl Copy for DataArchetype[src]

impl Debug for DataArchetype[src]

impl Deref for DataArchetype[src]

type Target = FinalNode

The resulting type after dereferencing.

impl DerefMut for DataArchetype[src]

impl Eq for DataArchetype[src]

impl FormTrait for DataArchetype[src]

impl From<DataArchetype> for Tao[src]

impl From<DataArchetype> for Archetype[src]

impl From<DataArchetype> for RustItemArchetype[src]

impl From<FinalNode> for DataArchetype[src]

impl From<usize> for DataArchetype[src]

impl Hash for DataArchetype[src]

impl Ord for DataArchetype[src]

impl PartialEq<DataArchetype> for DataArchetype[src]

impl PartialOrd<DataArchetype> for DataArchetype[src]

impl StructuralEq for DataArchetype[src]

impl StructuralPartialEq for DataArchetype[src]

impl<'a> TryFrom<&'a str> for DataArchetype[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CommonNodeTrait for T where
    T: Deref + DerefMut,
    <T as Deref>::Target: CommonNodeTrait
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any