#[repr(C)]pub enum JxlSignature {
NotEnoughBytes = 0,
Invalid = 1,
Codestream = 2,
Container = 3,
}Expand description
The result of JxlSignatureCheck.
Variants§
NotEnoughBytes = 0
Not enough bytes were passed to determine if a valid signature was found.
Invalid = 1
No valid JPEG XL header was found.
Codestream = 2
A valid JPEG XL codestream signature was found, that is a JPEG XL image without container.
Container = 3
A valid container signature was found, that is a JPEG XL image embedded in a box format container.
Trait Implementations§
Source§impl Clone for JxlSignature
impl Clone for JxlSignature
Source§fn clone(&self) -> JxlSignature
fn clone(&self) -> JxlSignature
Returns a duplicate 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 JxlSignature
impl Debug for JxlSignature
Source§impl Hash for JxlSignature
impl Hash for JxlSignature
Source§impl PartialEq for JxlSignature
impl PartialEq for JxlSignature
impl Copy for JxlSignature
impl Eq for JxlSignature
impl StructuralPartialEq for JxlSignature
Auto Trait Implementations§
impl Freeze for JxlSignature
impl RefUnwindSafe for JxlSignature
impl Send for JxlSignature
impl Sync for JxlSignature
impl Unpin for JxlSignature
impl UnwindSafe for JxlSignature
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