[][src]Struct zamm_yang::codegen::template::concept::flag::FlagConfig

pub struct FlagConfig {
    pub property_name: Rc<str>,
    pub doc: Rc<str>,
    pub flag: StructConfig,
    pub owner_type: StructConfig,
    pub yin_crate: Rc<str>,
}

Config values at the time of Flag getter/setter code generation.

Fields

property_name: Rc<str>

The public name to serve as a basis for the getter/setter function names.

doc: Rc<str>

An explanation of what this property is. Will be prepended by different strings for the setter and getter documentation.

flag: StructConfig

Concept representing the flag.

owner_type: StructConfig

Concept representing the owner of the flag.

yin_crate: Rc<str>

String to use for the Yin crate.

Trait Implementations

impl Default for FlagConfig[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, 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