Enum tauri_icns::Encoding
source · [−]pub enum Encoding {
Mask8,
RLE24,
JP2PNG,
}
Expand description
Methods of encoding an image within an icon element.
Each IconType
uses a particular encoding within
an ICNS file; this type enumerates those encodings.
(This type is used internally by the library, but is irrelvant to most library users; if you’re not sure whether you need to use it, you probably don’t.)
Variants
Mask8
Icon element data payload is an uncompressed 8-bit alpha mask.
RLE24
Icon element data payload is an RLE-compressed 24-bit RGB image.
JP2PNG
Icon element data payload is a JPEG 2000 or PNG file.
Trait Implementations
sourceimpl PartialEq<Encoding> for Encoding
impl PartialEq<Encoding> for Encoding
impl Copy for Encoding
impl Eq for Encoding
impl StructuralEq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more