You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
315 B
Rust

use crate::shapes::Shape;
/// An iterator containing the shapes to display
pub struct CircleShapes;
impl CircleShapes {
pub fn new() -> CircleShapes {
CircleShapes {}
}
}
impl Iterator for CircleShapes {
type Item = Shape;
fn next(&mut self) -> Option<Self::Item> {
None
}
}