Struct libavif_sys::avifEncoder
source · [−]#[repr(C)]pub struct avifEncoder {Show 15 fields
pub codecChoice: avifCodecChoice,
pub maxThreads: c_int,
pub minQuantizer: c_int,
pub maxQuantizer: c_int,
pub minQuantizerAlpha: c_int,
pub maxQuantizerAlpha: c_int,
pub tileRowsLog2: c_int,
pub tileColsLog2: c_int,
pub speed: c_int,
pub keyframeInterval: c_int,
pub timescale: u64,
pub ioStats: avifIOStats,
pub diag: avifDiagnostics,
pub data: *mut avifEncoderData,
pub csOptions: *mut avifCodecSpecificOptions,
}Fields
codecChoice: avifCodecChoicemaxThreads: c_intminQuantizer: c_intmaxQuantizer: c_intminQuantizerAlpha: c_intmaxQuantizerAlpha: c_inttileRowsLog2: c_inttileColsLog2: c_intspeed: c_intkeyframeInterval: c_inttimescale: u64ioStats: avifIOStatsdiag: avifDiagnosticsdata: *mut avifEncoderDatacsOptions: *mut avifCodecSpecificOptionsTrait Implementations
sourceimpl Clone for avifEncoder
impl Clone for avifEncoder
sourcefn clone(&self) -> avifEncoder
fn clone(&self) -> avifEncoder
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 avifEncoder
impl Debug for avifEncoder
sourceimpl Default for avifEncoder
impl Default for avifEncoder
impl Copy for avifEncoder
Auto Trait Implementations
impl RefUnwindSafe for avifEncoder
impl !Send for avifEncoder
impl !Sync for avifEncoder
impl Unpin for avifEncoder
impl UnwindSafe for avifEncoder
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