#[repr(C)]
pub struct avifImage {Show 24 fields
pub width: u32,
pub height: u32,
pub depth: u32,
pub yuvFormat: avifPixelFormat,
pub yuvRange: avifRange,
pub yuvChromaSamplePosition: avifChromaSamplePosition,
pub yuvPlanes: [*mut u8; 3],
pub yuvRowBytes: [u32; 3],
pub imageOwnsYUVPlanes: avifBool,
pub alphaPlane: *mut u8,
pub alphaRowBytes: u32,
pub imageOwnsAlphaPlane: avifBool,
pub alphaPremultiplied: avifBool,
pub icc: avifRWData,
pub colorPrimaries: avifColorPrimaries,
pub transferCharacteristics: avifTransferCharacteristics,
pub matrixCoefficients: avifMatrixCoefficients,
pub transformFlags: avifTransformFlags,
pub pasp: avifPixelAspectRatioBox,
pub clap: avifCleanApertureBox,
pub irot: avifImageRotation,
pub imir: avifImageMirror,
pub exif: avifRWData,
pub xmp: avifRWData,
}
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.