Struct ffmpeg::ffmpeg::AVClass

source ·
#[repr(C)]
pub struct AVClass { pub class_name: *const c_char, pub item_name: Option<unsafe extern "C" fn(ctx: *mut c_void) -> *const c_char>, pub option: *mut AVOption, pub version: c_int, pub log_level_offset_offset: c_int, pub parent_log_context_offset: c_int, pub category: c_uint, pub get_category: Option<unsafe extern "C" fn(ctx: *mut c_void) -> c_uint>, pub query_ranges: Option<unsafe extern "C" fn(arg1: *mut *mut AVOptionRanges, obj: *mut c_void, key: *const c_char, flags: c_int) -> c_int>, pub child_next: Option<unsafe extern "C" fn(obj: *mut c_void, prev: *mut c_void) -> *mut c_void>, pub child_class_iterate: Option<unsafe extern "C" fn(iter: *mut *mut c_void) -> *const AVClass>, }

Fields§

§class_name: *const c_char§item_name: Option<unsafe extern "C" fn(ctx: *mut c_void) -> *const c_char>§option: *mut AVOption§version: c_int§log_level_offset_offset: c_int§parent_log_context_offset: c_int§category: c_uint§get_category: Option<unsafe extern "C" fn(ctx: *mut c_void) -> c_uint>§query_ranges: Option<unsafe extern "C" fn(arg1: *mut *mut AVOptionRanges, obj: *mut c_void, key: *const c_char, flags: c_int) -> c_int>§child_next: Option<unsafe extern "C" fn(obj: *mut c_void, prev: *mut c_void) -> *mut c_void>§child_class_iterate: Option<unsafe extern "C" fn(iter: *mut *mut c_void) -> *const AVClass>

Trait Implementations§

Returns a copy of the value. Read more
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

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. 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.