pub struct VideoEncoderBuilder {
pub min_quantizer: u32,
pub max_quantizer: u32,
pub bitrate_kbps: u32,
pub fps: u32,
pub resolution: (u32, u32),
pub cpu_used: u32,
pub profile: u32,
}Fields§
§min_quantizer: u32§max_quantizer: u32§bitrate_kbps: u32§fps: u32§resolution: (u32, u32)§cpu_used: u32§profile: u32Implementations§
Source§impl VideoEncoderBuilder
impl VideoEncoderBuilder
pub fn set_resolution(self, width: u32, height: u32) -> Self
pub fn build(&self) -> Result<VideoEncoder>
Auto Trait Implementations§
impl Freeze for VideoEncoderBuilder
impl RefUnwindSafe for VideoEncoderBuilder
impl Send for VideoEncoderBuilder
impl Sync for VideoEncoderBuilder
impl Unpin for VideoEncoderBuilder
impl UnwindSafe for VideoEncoderBuilder
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.