#[repr(i32)]pub enum SwrDitherType {
Show 13 variants
SWR_DITHER_NONE = 0,
SWR_DITHER_RECTANGULAR = 1,
SWR_DITHER_TRIANGULAR = 2,
SWR_DITHER_TRIANGULAR_HIGHPASS = 3,
SWR_DITHER_NS = 64,
SWR_DITHER_NS_LIPSHITZ = 65,
SWR_DITHER_NS_F_WEIGHTED = 66,
SWR_DITHER_NS_MODIFIED_E_WEIGHTED = 67,
SWR_DITHER_NS_IMPROVED_E_WEIGHTED = 68,
SWR_DITHER_NS_SHIBATA = 69,
SWR_DITHER_NS_LOW_SHIBATA = 70,
SWR_DITHER_NS_HIGH_SHIBATA = 71,
SWR_DITHER_NB = 72,
}展开描述
Dithering algorithms
Variants§
SWR_DITHER_NONE = 0
SWR_DITHER_RECTANGULAR = 1
SWR_DITHER_TRIANGULAR = 2
SWR_DITHER_TRIANGULAR_HIGHPASS = 3
SWR_DITHER_NS = 64
< not part of API/ABI
SWR_DITHER_NS_LIPSHITZ = 65
SWR_DITHER_NS_F_WEIGHTED = 66
SWR_DITHER_NS_MODIFIED_E_WEIGHTED = 67
SWR_DITHER_NS_IMPROVED_E_WEIGHTED = 68
SWR_DITHER_NS_SHIBATA = 69
SWR_DITHER_NS_LOW_SHIBATA = 70
SWR_DITHER_NS_HIGH_SHIBATA = 71
SWR_DITHER_NB = 72
< not part of API/ABI
trait 实现§
源代码§impl Clone for SwrDitherType
impl Clone for SwrDitherType
源代码§fn clone(&self) -> SwrDitherType
fn clone(&self) -> SwrDitherType
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for SwrDitherType
impl Debug for SwrDitherType
源代码§impl Hash for SwrDitherType
impl Hash for SwrDitherType
源代码§impl PartialEq for SwrDitherType
impl PartialEq for SwrDitherType
impl Copy for SwrDitherType
impl Eq for SwrDitherType
impl StructuralPartialEq for SwrDitherType
自动 trait 实现§
impl Freeze for SwrDitherType
impl RefUnwindSafe for SwrDitherType
impl Send for SwrDitherType
impl Sync for SwrDitherType
impl Unpin for SwrDitherType
impl UnsafeUnpin for SwrDitherType
impl UnwindSafe for SwrDitherType
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多