completed till 06/07

This commit is contained in:
2025-04-01 07:15:32 +05:30
parent 2fa61e7715
commit f980a3b381
7 changed files with 52 additions and 6 deletions

View File

@@ -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,