parse convert
This commit is contained in:
parent
bfb20374d4
commit
c0ae1a2229
|
@ -21,7 +21,7 @@ impl<P: Parse> AsParse for P {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Parse {
|
pub trait Parse: AsParse {
|
||||||
fn parse(&mut self, path: &str, src: &[u8], dst: &mut Vec<u8>) -> Result<(), Error>;
|
fn parse(&mut self, path: &str, src: &[u8], dst: &mut Vec<u8>) -> Result<(), Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue