Trait otter_api_tests::Substitutor[][src]

pub trait Substitutor {
    fn get(&self, kw: &str) -> Option<String>;

    fn also<L: Into<Subst>>(&self, xl: L) -> ExtendedSubst<Self, Subst>
    where
        Self: Clone + Sized
, { ... }
fn subst<S: AsRef<str>>(&self, s: S) -> Result<String, AE>
    where
        Self: Sized
, { ... }
fn ss(&self, s: &str) -> Result<Vec<String>, AE>
    where
        Self: Sized
, { ... } }

Required methods

fn get(&self, kw: &str) -> Option<String>[src]

Loading content...

Provided methods

fn also<L: Into<Subst>>(&self, xl: L) -> ExtendedSubst<Self, Subst> where
    Self: Clone + Sized
[src]

fn subst<S: AsRef<str>>(&self, s: S) -> Result<String, AE> where
    Self: Sized
[src]

fn ss(&self, s: &str) -> Result<Vec<String>, AE> where
    Self: Sized
[src]

Loading content...

Implementors

impl Substitutor for DirSubst[src]

impl Substitutor for Subst[src]

impl<B: Substitutor, X: Substitutor> Substitutor for ExtendedSubst<B, X>[src]

Loading content...