Enum libheif_rs::FileTypeResult
source · #[repr(C)]pub enum FileTypeResult {
No = 0,
Supported = 1,
Unsupported = 2,
MayBe = 3,
}
Variants§
No = 0
Supported = 1
It is HEIF and can be read by libheif
Unsupported = 2
It is HEIF, but cannot be read by libheif
MayBe = 3
Not sure whether it is an HEIF, try detection with more input data
Implementations§
Trait Implementations§
source§impl Clone for FileTypeResult
impl Clone for FileTypeResult
source§fn clone(&self) -> FileTypeResult
fn clone(&self) -> FileTypeResult
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 FileTypeResult
impl Debug for FileTypeResult
source§impl Hash for FileTypeResult
impl Hash for FileTypeResult
source§impl PartialEq for FileTypeResult
impl PartialEq for FileTypeResult
source§fn eq(&self, other: &FileTypeResult) -> bool
fn eq(&self, other: &FileTypeResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FileTypeResult
impl Eq for FileTypeResult
impl StructuralPartialEq for FileTypeResult
Auto Trait Implementations§
impl Freeze for FileTypeResult
impl RefUnwindSafe for FileTypeResult
impl Send for FileTypeResult
impl Sync for FileTypeResult
impl Unpin for FileTypeResult
impl UnwindSafe for FileTypeResult
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