Trait duck::Anatid [] [src]

pub trait Anatid: Iterator {
    type PeekItem;
    fn peek(&mut self) -> Option<Self::PeekItem>;
}

An internal trait that represents either a Duck or a Goose.

Associated Types

Required Methods

Implementors