[][src]Struct zamm_yang::codegen::template::concept::tao::TaoConfig

pub struct TaoConfig {
    pub imports: Option<String>,
    pub this: StructConfig,
    pub internal_name: String,
    pub form: StructConfig,
    pub parent_name: String,
    pub parent_import: String,
    pub archetype: StructConfig,
    pub all_attributes: Vec<String>,
    pub all_attribute_imports: Vec<String>,
    pub introduced_attributes: Vec<String>,
    pub introduced_attribute_imports: Vec<String>,
    pub doc: String,
    pub id: String,
}

Templating config values for all concepts.

Fields

imports: Option<String>

Main file imports.

this: StructConfig

Class representing the concept itself.

internal_name: String

Name of the concept.

form: StructConfig

The form representing the concept.

parent_name: String

Name of the parent class.

parent_import: String

Import path for the parent class.

archetype: StructConfig

The archetype used to represent the meta-object for this struct.

all_attributes: Vec<String>

List of attributes this class has.

all_attribute_imports: Vec<String>

Imports for above list of introduced attributes.

introduced_attributes: Vec<String>

List of attributes this class introduced.

introduced_attribute_imports: Vec<String>

Imports for above list of introduced attributes.

doc: String

Rustdoc for the class.

id: String

ID of the concept.

Trait Implementations

impl Clone for TaoConfig[src]

impl Default for TaoConfig[src]

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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