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_uint
The width (in pixels).
height: c_uint
The height (in pixels).
timebase: [c_int; 2]
The timebase numerator and denominator (in seconds).
bitrate: c_uint
The target bitrate (in kilobits per second).
codec: VideoCodecId
The 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