pub enum ImageCodecFeatures {
Read = 1,
Write = 2,
Lossless = 4,
Lossy = 8,
MultiFrame = 16,
Iptc = 268_435_456,
Exif = 536_870_912,
Xmp = 1_073_741_824,
}
Expand description
Image codec feature bits.
Variants§
Read = 1
Image codec supports reading images (can create BLImageDecoder).
Write = 2
Image codec supports writing images (can create BLImageEncoder).
Lossless = 4
Image codec supports lossless compression.
Lossy = 8
Image codec supports loosy compression.
MultiFrame = 16
Image codec supports writing multiple frames (GIF).
Iptc = 268_435_456
Image codec supports IPTC metadata.
Exif = 536_870_912
Image codec supports EXIF metadata.
Xmp = 1_073_741_824
Image codec supports XMP metadata.
Trait Implementations§
Source§impl Clone for ImageCodecFeatures
impl Clone for ImageCodecFeatures
Source§fn clone(&self) -> ImageCodecFeatures
fn clone(&self) -> ImageCodecFeatures
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageCodecFeatures
impl Debug for ImageCodecFeatures
Source§impl Default for ImageCodecFeatures
impl Default for ImageCodecFeatures
Source§impl From<ImageCodecFeatures> for u32
impl From<ImageCodecFeatures> for u32
Source§fn from(val: ImageCodecFeatures) -> u32
fn from(val: ImageCodecFeatures) -> u32
Converts to this type from the input type.
Source§impl From<u32> for ImageCodecFeatures
impl From<u32> for ImageCodecFeatures
Source§impl PartialEq for ImageCodecFeatures
impl PartialEq for ImageCodecFeatures
Source§impl PartialOrd for ImageCodecFeatures
impl PartialOrd for ImageCodecFeatures
impl Copy for ImageCodecFeatures
impl StructuralPartialEq for ImageCodecFeatures
Auto Trait Implementations§
impl Freeze for ImageCodecFeatures
impl RefUnwindSafe for ImageCodecFeatures
impl Send for ImageCodecFeatures
impl Sync for ImageCodecFeatures
impl Unpin for ImageCodecFeatures
impl UnwindSafe for ImageCodecFeatures
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