pub struct RawDecoder;Expand description
Camera RAW decoder.
Decodes camera RAW formats from various manufacturers including Canon, Nikon, Sony, Fuji, and many others.
Implementations§
Source§impl RawDecoder
impl RawDecoder
Trait Implementations§
Source§impl Default for RawDecoder
impl Default for RawDecoder
Source§impl ImageDecoder for RawDecoder
impl ImageDecoder for RawDecoder
Source§fn decode<R: Read>(&self, _reader: R) -> CodecResult<Image>
fn decode<R: Read>(&self, _reader: R) -> CodecResult<Image>
Decode an image from a reader. Read more
Source§fn format(&self) -> ImageFormat
fn format(&self) -> ImageFormat
Get the format this decoder handles.
Source§fn decode_bytes(&self, data: &[u8]) -> CodecResult<Image>
fn decode_bytes(&self, data: &[u8]) -> CodecResult<Image>
Decode an image from bytes. Read more
Source§fn can_decode(&self, data: &[u8]) -> bool
fn can_decode(&self, data: &[u8]) -> bool
Check if this decoder can handle the given data.
Auto Trait Implementations§
impl Freeze for RawDecoder
impl RefUnwindSafe for RawDecoder
impl Send for RawDecoder
impl Sync for RawDecoder
impl Unpin for RawDecoder
impl UnsafeUnpin for RawDecoder
impl UnwindSafe for RawDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more