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
Loading content...Provided methods
fn also<L: Into<Subst>>(&self, xl: L) -> ExtendedSubst<Self, Subst> where
Self: Clone + Sized, [src]
Self: Clone + Sized,
fn subst<S: AsRef<str>>(&self, s: S) -> Result<String, AE> where
Self: Sized, [src]
Self: Sized,
fn ss(&self, s: &str) -> Result<Vec<String>, AE> where
Self: Sized, [src]
Self: Sized,