Trait twig::Expect
[−]
[src]
pub trait Expect<V> { type Output; fn expect(&mut self, expected: V) -> Self::Output; }
Returns different output based on expected value.
Associated Types
type Output
Required Methods
Implementors
impl<'code, T> Expect<(usize, TokenValueRef<'code>)> for T where
T: Iterator<Item = TemplateResult<TokenRef<'code>>>,