add zip_sink
parent
98565b175c
commit
c85d762ecf
|
|
@ -0,0 +1,8 @@
|
||||||
|
use crate::sink::ResourceSink;
|
||||||
|
use std::iter::Zip;
|
||||||
|
|
||||||
|
mod zip_zink;
|
||||||
|
|
||||||
|
pub struct ZipZink {}
|
||||||
|
|
||||||
|
impl ResourceSink for ZipZink {}
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
use crate::resource::Resource;
|
mod zip_sink;
|
||||||
|
|
||||||
pub trait ResourceSink {}
|
use crate::resource::{Resource, ResourceInputStream};
|
||||||
|
|
||||||
|
pub trait ResourceSink {
|
||||||
|
fn add_file(&mut self, input_stream: DynResourceInputStream) {}
|
||||||
|
}
|
||||||
pub type DynResourceSink = Box<dyn ResourceSink>;
|
pub type DynResourceSink = Box<dyn ResourceSink>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue