]> Witch of Git - jade-mouse/blob - toolchain/src/inst/decode.rs
Add ISA version 0.2
[jade-mouse] / toolchain / src / inst / decode.rs
1 use crate::inst::Inst;
2 use std::io::{self, Read};
3
4 pub trait Decode {
5 fn decode(code: &mut impl Read) -> io::Result<Option<Inst>>;
6 }