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

fn expect(&mut self, expected: V) -> Self::Output

Implementors