Struct recycler::TrashRecycler [] [src]

pub struct TrashRecycler<Item> { /* fields omitted */ }

A "recycler" that doesn't recycle anything, instead just dropping anything it is given. This is particularly useful for primitive types such as i32 that do not have Drop implementations.

Trait Implementations

impl<Item> Default for TrashRecycler<Item>
[src]

Returns the "default value" for a type. Read more

impl<Item: Clone> Recycler for TrashRecycler<Item>
[src]