TRADING YEAH LETS GO #80

Merged
jake merged 41 commits from trading into master 2021-12-28 13:05:27 -05:00
Showing only changes of commit 070735edbf - Show all commits

View File

@ -162,6 +162,13 @@ impl ItemDetail {
_ => None,
}
}
pub fn tool(&self) -> Option<&tool::Tool> {
match self {
ItemDetail::Tool(tool) => Some(tool),
_ => None,
}
}
}
#[derive(Clone, Debug)]