[][src]Struct zamm_yang::tao::action::Implement

pub struct Implement { /* fields omitted */ }

The act of implementing something. When created, this effectively serves as a call to action for Yang.

Implementations

impl Implement[src]

pub fn target(&self) -> Option<Form>[src]

Get target concept for this implementation.

pub fn set_target(&mut self, target: &Form)[src]

Set target concept for this implementation.

pub fn concept_id(&self) -> Option<Rc<usize>>[src]

Get the concept's ID during code generation time, as opposed to the concept's currently assigned runtime ID.

pub fn set_concept_id(&mut self, concept_id: usize)[src]

Set the concept's ID during code generation time, as opposed to the concept's currently assigned runtime ID.

pub fn documentation(&self) -> Option<Rc<str>>[src]

Get the documentation string associated with this particular Rust implementation.

pub fn set_documentation(&mut self, documentation: &str)[src]

Set the documentation string associated with this particular Rust implementation.

pub fn dual_purpose_documentation(&self) -> Option<Rc<str>>[src]

Get the dual-purpose documentation substring to be used for the implementation of this property as getters and setters in a different concept's class.

pub fn set_dual_purpose_documentation(
    &mut self,
    dual_purpose_documentation: &str
)
[src]

Set the dual-purpose documentation substring to be used for the implementation of this property as getters and setters in a different concept's class.

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 Implement[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 = Implement

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 Implement[src]

impl Copy for Implement[src]

impl Debug for Implement[src]

impl Deref for Implement[src]

type Target = FinalNode

The resulting type after dereferencing.

impl DerefMut for Implement[src]

impl Eq for Implement[src]

impl FormTrait for Implement[src]

impl From<FinalNode> for Implement[src]

impl From<Implement> for Tao[src]

impl From<Implement> for Action[src]

impl From<usize> for Implement[src]

impl Hash for Implement[src]

impl Ord for Implement[src]

impl PartialEq<Implement> for Implement[src]

impl PartialOrd<Implement> for Implement[src]

impl StructuralEq for Implement[src]

impl StructuralPartialEq for Implement[src]

impl<'a> TryFrom<&'a str> for Implement[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