pub trait Inflate<'a>where
    Self: Sized,{
    type Inflated;

    // Required method
    fn inflate(
        self,
        config: &Config<'a>
    ) -> Result<Self::Inflated, WhitespaceError>;
}

Required Associated Types§

Required Methods§

source

fn inflate(self, config: &Config<'a>) -> Result<Self::Inflated, WhitespaceError>

Implementations on Foreign Types§

source§

impl<'a, T: Inflate<'a>> Inflate<'a> for Option<T>

§

type Inflated = Option<<T as Inflate<'a>>::Inflated>

source§

fn inflate(self, config: &Config<'a>) -> Result<Self::Inflated, WhitespaceError>

source§

impl<'a, T: Inflate<'a> + ?Sized> Inflate<'a> for Box<T>

§

type Inflated = Box<<T as Inflate<'a>>::Inflated, Global>

source§

fn inflate(self, config: &Config<'a>) -> Result<Self::Inflated, WhitespaceError>

source§

impl<'a, T: Inflate<'a>> Inflate<'a> for Vec<T>

§

type Inflated = Vec<<T as Inflate<'a>>::Inflated, Global>

source§

fn inflate(self, config: &Config<'a>) -> Result<Self::Inflated, WhitespaceError>

Implementors§