Struct libavif_sys::avifDecoder
source · [−]#[repr(C)]pub struct avifDecoder {Show 23 fields
pub codecChoice: avifCodecChoice,
pub maxThreads: c_int,
pub requestedSource: avifDecoderSource,
pub allowProgressive: avifBool,
pub allowIncremental: avifBool,
pub ignoreExif: avifBool,
pub ignoreXMP: avifBool,
pub imageSizeLimit: u32,
pub imageCountLimit: u32,
pub strictFlags: avifStrictFlags,
pub image: *mut avifImage,
pub imageIndex: c_int,
pub imageCount: c_int,
pub progressiveState: avifProgressiveState,
pub imageTiming: avifImageTiming,
pub timescale: u64,
pub duration: f64,
pub durationInTimescales: u64,
pub alphaPresent: avifBool,
pub ioStats: avifIOStats,
pub diag: avifDiagnostics,
pub io: *mut avifIO,
pub data: *mut avifDecoderData,
}Fields
codecChoice: avifCodecChoicemaxThreads: c_intrequestedSource: avifDecoderSourceallowProgressive: avifBoolallowIncremental: avifBoolignoreExif: avifBoolignoreXMP: avifBoolimageSizeLimit: u32imageCountLimit: u32strictFlags: avifStrictFlagsimage: *mut avifImageimageIndex: c_intimageCount: c_intprogressiveState: avifProgressiveStateimageTiming: avifImageTimingtimescale: u64duration: f64durationInTimescales: u64alphaPresent: avifBoolioStats: avifIOStatsdiag: avifDiagnosticsio: *mut avifIOdata: *mut avifDecoderDataTrait Implementations
sourceimpl Clone for avifDecoder
impl Clone for avifDecoder
sourcefn clone(&self) -> avifDecoder
fn clone(&self) -> avifDecoder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for avifDecoder
impl Debug for avifDecoder
sourceimpl Default for avifDecoder
impl Default for avifDecoder
impl Copy for avifDecoder
Auto Trait Implementations
impl RefUnwindSafe for avifDecoder
impl !Send for avifDecoder
impl !Sync for avifDecoder
impl Unpin for avifDecoder
impl UnwindSafe for avifDecoder
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more