Trait suppositions::generators::GeneratorSized [] [src]

pub trait GeneratorSized {
    type Item;
    fn boxed(self) -> Box<GeneratorObject<Item = Self::Item>>;
}

An extension trait that allows use of methods that assume Self has a known size, like #boxed.

Associated Types

Required Methods

Returns a boxed trait object. Useful for returning a series of chained combinators without having to declare the full type.

Implementors