9 lines
178 B
Rust
9 lines
178 B
Rust
use book::BookItems;
|
|
use book::BookConfig;
|
|
|
|
use std::error::Error;
|
|
|
|
pub trait Renderer {
|
|
fn render(&self, book: BookItems, config: &BookConfig) -> Result<(), Box<Error>>;
|
|
}
|