Trait Inflate

Source
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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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>> Inflate<'a> for Vec<T>

Source§

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

Source§

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

Implementors§