#[repr(u32)]pub enum ScalingAlgorithm {
NearestNeighbor = 0,
Bilinear = 1,
Lanczos3 = 2,
}๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Expand description
Scaling algorithm used when resizing frames in the transcoder.
Variantsยง
NearestNeighbor = 0
๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Bilinear = 1
๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Lanczos3 = 2
๐Deprecated since 0.3.1:
This crate has been renamed. Please migrate to gpu-video.
Trait Implementationsยง
Sourceยงimpl Clone for ScalingAlgorithm
impl Clone for ScalingAlgorithm
Sourceยงfn clone(&self) -> ScalingAlgorithm
fn clone(&self) -> ScalingAlgorithm
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 ScalingAlgorithm
Sourceยงimpl Debug for ScalingAlgorithm
impl Debug for ScalingAlgorithm
Sourceยงimpl Default for ScalingAlgorithm
impl Default for ScalingAlgorithm
Sourceยงfn default() -> ScalingAlgorithm
fn default() -> ScalingAlgorithm
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl Freeze for ScalingAlgorithm
impl RefUnwindSafe for ScalingAlgorithm
impl Send for ScalingAlgorithm
impl Sync for ScalingAlgorithm
impl Unpin for ScalingAlgorithm
impl UnsafeUnpin for ScalingAlgorithm
impl UnwindSafe for ScalingAlgorithm
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