pub struct Config {
pub width: c_uint,
pub height: c_uint,
pub timebase: [c_int; 2],
pub bitrate: c_uint,
pub codec: VideoCodecId,
}Fields§
§width: c_uintThe width (in pixels).
height: c_uintThe height (in pixels).
timebase: [c_int; 2]The timebase numerator and denominator (in seconds).
bitrate: c_uintThe target bitrate (in kilobits per second).
codec: VideoCodecIdThe codec
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more