pub fn options(&self) -> Vec<Bowl> {
        self.bowls[0..self.size]
            .iter()
            .cloned()
            .enumerate()
            .filter_map(|(bowl, stones)| if stones > 0 { Some(bowl) } else { None })
            .collect()
    }
/// Determine which bowls are playable.
Determine which bowls are playable.
Determine which bowls are playable .
pub fn options(&self) -> Vec<Bowl> {
        self.bowls[0..self.size]
            .iter()
            .cloned()
            .enumerate()
            .filter_map(|(bowl, stones)| if stones > 0 { Some(bowl) } else { None })
            .collect()
    }
pub fn options ( & self ) -> Vec < Bowl > { self . bowls [ 0 .. self . size ] . iter ( ) . cloned ( ) . enumerate ( ) . filter_map ( | ( bowl , stones ) | if stones > 0 { Some ( bowl ) } else { None } ) . collect ( ) }
Determine which bowls are playable.
Determine which bowls are playable .
&self
&self