Struct ffmpeg_sys_next::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: *const AVOption,
pub version: c_int,
pub log_level_offset_offset: c_int,
pub parent_log_context_offset: c_int,
pub child_next: Option<unsafe extern "C" fn(obj: *mut c_void, prev: *mut c_void) -> *mut c_void>,
pub child_class_next: Option<unsafe extern "C" fn(prev: *const AVClass) -> *const AVClass>,
pub category: AVClassCategory,
pub get_category: Option<unsafe extern "C" fn(ctx: *mut c_void) -> AVClassCategory>,
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>,
}Fields
class_name: *const c_charitem_name: Option<unsafe extern "C" fn(ctx: *mut c_void) -> *const c_char>option: *const AVOptionversion: c_intlog_level_offset_offset: c_intparent_log_context_offset: c_intchild_next: Option<unsafe extern "C" fn(obj: *mut c_void, prev: *mut c_void) -> *mut c_void>child_class_next: Option<unsafe extern "C" fn(prev: *const AVClass) -> *const AVClass>category: AVClassCategoryget_category: Option<unsafe extern "C" fn(ctx: *mut c_void) -> AVClassCategory>query_ranges: Option<unsafe extern "C" fn(arg1: *mut *mut AVOptionRanges, obj: *mut c_void, key: *const c_char, flags: c_int) -> c_int>Trait Implementations
impl Copy for AVClass
impl Eq for AVClass
impl StructuralEq for AVClass
impl StructuralPartialEq for AVClass
Auto Trait Implementations
impl RefUnwindSafe for AVClass
impl !Send for AVClass
impl !Sync for AVClass
impl Unpin for AVClass
impl UnwindSafe for AVClass
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