Struct rsmpeg::ffi::AVOption[][src]

#[repr(C)]
pub struct AVOption { pub name: *const i8, pub help: *const i8, pub offset: i32, pub type_: u32, pub default_val: AVOption__bindgen_ty_1, pub min: f64, pub max: f64, pub flags: i32, pub unit: *const i8, }
Expand description

AVOption

Fields

name: *const i8help: *const i8

short English help text @todo What about other languages?

offset: i32

The offset relative to the context structure where the option value is stored. It should be 0 for named constants.

type_: u32default_val: AVOption__bindgen_ty_1min: f64

< minimum valid value for the option

max: f64

< maximum valid value for the option

flags: i32unit: *const i8

The logical unit to which the option belongs. Non-constant options and corresponding named constants share the same unit. May be NULL.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.