completed till 06/07
This commit is contained in:
@@ -17,6 +17,20 @@ pub struct Ticket {
|
||||
status: Status,
|
||||
}
|
||||
|
||||
impl TicketStore {
|
||||
// type Itr=std::vec::I
|
||||
pub fn iter(&self) -> std::slice::Iter<Ticket> {
|
||||
self.tickets.iter()
|
||||
}
|
||||
}
|
||||
|
||||
// impl Iterator for TicketStore {
|
||||
// type Item = Ticket;
|
||||
// fn next(&mut self) -> Self::Item {
|
||||
|
||||
// }
|
||||
// }
|
||||
|
||||
#[derive(Clone, Debug, Copy, PartialEq)]
|
||||
pub enum Status {
|
||||
ToDo,
|
||||
|
||||
Reference in New Issue
Block a user