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

pub struct InternalNameConfig {
    pub getter: &'static str,
    pub setter: &'static str,
    pub suffix: &'static str,
}

Backwards-compatibility logic for the internal name API.

Fields

getter: &'static str

Getter function for the internal name.

setter: &'static str

Setter function for the internal name.

suffix: &'static str

Suffix to get strings into the right place.

Implementations

impl InternalNameConfig[src]

pub const DEFAULT: Self[src]

Default internal name config, compatible with all Yin 0.1.x versions.

pub const YIN_AT_LEAST_0_1_1: Self[src]

Internal name config, only for Yin versions >= 0.1.1.

Trait Implementations

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