Struct rawloader::decoders::RawLoader
[−]
[src]
pub struct RawLoader { pub cameras: HashMap<(String, String), Camera>, }
Fields
cameras: HashMap<(String, String), Camera>
Methods
impl RawLoader
[src]
fn new() -> RawLoader
fn get_decoder<'b>(&'b self, buf: &'b Buffer) -> Result<Box<Decoder + 'b>, String>
fn check_supported<'a>(&'a self, make: &'a str, model: &'a str) -> Result<&Camera, String>
fn decode(&self, reader: &mut Read) -> Result<Image, String>
fn decode_safe(&self, path: &str) -> Result<Image, String>
Trait Implementations
impl Clone for RawLoader
[src]
fn clone(&self) -> RawLoader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more