pub struct EncoderChoice {
pub element: &'static str,
pub props: &'static [(&'static str, &'static str)],
}Expand description
One encoder an encoding profile’s stream can be produced by: the launch
element and the properties that pin it to that codec (a multi-codec encoder
like vpxenc or nvenc selects with codec=). The encodebin expansion
takes the first choice whose element this build registered.
Fields§
§element: &'static str§props: &'static [(&'static str, &'static str)]Implementations§
Trait Implementations§
Source§impl Clone for EncoderChoice
impl Clone for EncoderChoice
Source§fn clone(&self) -> EncoderChoice
fn clone(&self) -> EncoderChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EncoderChoice
Source§impl Debug for EncoderChoice
impl Debug for EncoderChoice
impl Eq for EncoderChoice
Source§impl PartialEq for EncoderChoice
impl PartialEq for EncoderChoice
impl StructuralPartialEq for EncoderChoice
Auto Trait Implementations§
impl Freeze for EncoderChoice
impl RefUnwindSafe for EncoderChoice
impl Send for EncoderChoice
impl Sync for EncoderChoice
impl Unpin for EncoderChoice
impl UnsafeUnpin for EncoderChoice
impl UnwindSafe for EncoderChoice
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