1
0
Fork 0
This repository has been archived on 2023-11-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
comicinfo-editor/src/parsers/irodori/mod.rs

26 lines
539 B
Rust

use crate::parsers::{self, MetadataSource, Parser, ParserConsts};
pub(crate) struct Irodori {
}
impl Parser for Irodori {
fn new() -> Self {
Self {}
}
fn get_uses_file(&self) -> MetadataSource {
return MetadataSource::File;
}
fn source_is_file(&self) -> bool {
return Irodori::source == MetadataSource::File;
}
fn get_display_string(&self) -> &str {
return "Irodori Comics";
}
}
impl ParserConsts for Irodori {
const source: MetadataSource = MetadataSource::URL;
}