pub enum ResolutionOpt {
Auto,
Height(u32),
}Expand description
Target resolution.
Variants§
Auto
Let the engine pick (downscale only if bitrate is too low).
Height(u32)
Force a target height (width follows aspect ratio).
Trait Implementations§
Source§impl Clone for ResolutionOpt
impl Clone for ResolutionOpt
Source§fn clone(&self) -> ResolutionOpt
fn clone(&self) -> ResolutionOpt
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 ResolutionOpt
Source§impl Debug for ResolutionOpt
impl Debug for ResolutionOpt
impl Eq for ResolutionOpt
Source§impl PartialEq for ResolutionOpt
impl PartialEq for ResolutionOpt
impl StructuralPartialEq for ResolutionOpt
Auto Trait Implementations§
impl Freeze for ResolutionOpt
impl RefUnwindSafe for ResolutionOpt
impl Send for ResolutionOpt
impl Sync for ResolutionOpt
impl Unpin for ResolutionOpt
impl UnsafeUnpin for ResolutionOpt
impl UnwindSafe for ResolutionOpt
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