Struct libavif_sys::avifDecoder
source · [−]#[repr(C)]pub struct avifDecoder {Show 19 fields
pub codecChoice: avifCodecChoice,
pub maxThreads: c_int,
pub requestedSource: avifDecoderSource,
pub image: *mut avifImage,
pub imageIndex: c_int,
pub imageCount: c_int,
pub imageTiming: avifImageTiming,
pub timescale: u64,
pub duration: f64,
pub durationInTimescales: u64,
pub alphaPresent: avifBool,
pub ignoreExif: avifBool,
pub ignoreXMP: avifBool,
pub imageCountLimit: u32,
pub strictFlags: avifStrictFlags,
pub ioStats: avifIOStats,
pub io: *mut avifIO,
pub diag: avifDiagnostics,
pub data: *mut avifDecoderData,
}Fields
codecChoice: avifCodecChoicemaxThreads: c_intrequestedSource: avifDecoderSourceimage: *mut avifImageimageIndex: c_intimageCount: c_intimageTiming: avifImageTimingtimescale: u64duration: f64durationInTimescales: u64alphaPresent: avifBoolignoreExif: avifBoolignoreXMP: avifBoolimageCountLimit: u32strictFlags: avifStrictFlagsioStats: avifIOStatsio: *mut avifIOdiag: avifDiagnosticsdata: *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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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