pub enum DownsampleKernel {
Box,
Gaussian,
}Expand description
Multi-scale SSIM downsample kernel selector for the (blocked) delta path.
Re-exposed for published-API shape compatibility. Has no effect on the lossless path.
Variants§
Trait Implementations§
Source§impl Clone for DownsampleKernel
impl Clone for DownsampleKernel
Source§fn clone(&self) -> DownsampleKernel
fn clone(&self) -> DownsampleKernel
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 DownsampleKernel
Source§impl Debug for DownsampleKernel
impl Debug for DownsampleKernel
Source§impl Default for DownsampleKernel
impl Default for DownsampleKernel
Source§fn default() -> DownsampleKernel
fn default() -> DownsampleKernel
Returns the “default value” for a type. Read more
impl Eq for DownsampleKernel
Source§impl PartialEq for DownsampleKernel
impl PartialEq for DownsampleKernel
Source§fn eq(&self, other: &DownsampleKernel) -> bool
fn eq(&self, other: &DownsampleKernel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DownsampleKernel
Auto Trait Implementations§
impl Freeze for DownsampleKernel
impl RefUnwindSafe for DownsampleKernel
impl Send for DownsampleKernel
impl Sync for DownsampleKernel
impl Unpin for DownsampleKernel
impl UnsafeUnpin for DownsampleKernel
impl UnwindSafe for DownsampleKernel
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