TemplateProperty

Trait TemplateProperty 

Source
pub trait TemplateProperty {
    type Output;

    // Required method
    fn extract(&self) -> Result<Self::Output, TemplatePropertyError>;
}
Expand description

Lazily evaluated value which can fail to evaluate.

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Source§

impl<P: TemplateProperty + ?Sized> TemplateProperty for Box<P>

Source§

impl<P: TemplateProperty> TemplateProperty for Option<P>

Source§

impl<T0: TemplateProperty> TemplateProperty for (T0,)

Source§

impl<T0: TemplateProperty, T1: TemplateProperty> TemplateProperty for (T0, T1)

Source§

impl<T0: TemplateProperty, T1: TemplateProperty, T2: TemplateProperty> TemplateProperty for (T0, T1, T2)

Source§

impl<T0: TemplateProperty, T1: TemplateProperty, T2: TemplateProperty, T3: TemplateProperty> TemplateProperty for (T0, T1, T2, T3)

Implementors§