[][src]Trait epub_metadata::ValueMapping

pub trait ValueMapping<T> {
    fn map_code(&self) -> Option<T>;
}

Try to map a code from one scheme to another.

The primary purpose is to shift from a nuanced encoding scheme, onix, to one which may be less flexible but is more likely to be natively recognised by reading systems.

Required methods

fn map_code(&self) -> Option<T>

map this code to one of T if possible

Loading content...

Implementors

Loading content...