pub enum ProxyPreset {
QuarterResH264,
HalfResH264,
FullResH264,
QuarterResVP9,
HalfResVP9,
}Expand description
Proxy preset for quick setup.
Variants§
QuarterResH264
Quarter resolution H.264 proxy (25% scale, low bitrate).
HalfResH264
Half resolution H.264 proxy (50% scale, medium bitrate).
FullResH264
Full resolution H.264 proxy (100% scale, high bitrate).
QuarterResVP9
Quarter resolution VP9 proxy (25% scale, very efficient).
HalfResVP9
Half resolution VP9 proxy (50% scale, efficient).
Implementations§
Source§impl ProxyPreset
impl ProxyPreset
Sourcepub fn to_settings(self) -> ProxyGenerationSettings
pub fn to_settings(self) -> ProxyGenerationSettings
Convert preset to generation settings.
Trait Implementations§
Source§impl Clone for ProxyPreset
impl Clone for ProxyPreset
Source§fn clone(&self) -> ProxyPreset
fn clone(&self) -> ProxyPreset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxyPreset
impl Debug for ProxyPreset
Source§impl PartialEq for ProxyPreset
impl PartialEq for ProxyPreset
impl Copy for ProxyPreset
impl Eq for ProxyPreset
impl StructuralPartialEq for ProxyPreset
Auto Trait Implementations§
impl Freeze for ProxyPreset
impl RefUnwindSafe for ProxyPreset
impl Send for ProxyPreset
impl Sync for ProxyPreset
impl Unpin for ProxyPreset
impl UnsafeUnpin for ProxyPreset
impl UnwindSafe for ProxyPreset
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more