#[repr(i32)]pub enum SwsIntent {
SWS_INTENT_PERCEPTUAL = 0,
SWS_INTENT_RELATIVE_COLORIMETRIC = 1,
SWS_INTENT_SATURATION = 2,
SWS_INTENT_ABSOLUTE_COLORIMETRIC = 3,
SWS_INTENT_NB = 4,
}Variants§
SWS_INTENT_PERCEPTUAL = 0
< Perceptual tone mapping
SWS_INTENT_RELATIVE_COLORIMETRIC = 1
< Relative colorimetric clipping
SWS_INTENT_SATURATION = 2
< Saturation mapping
SWS_INTENT_ABSOLUTE_COLORIMETRIC = 3
< Absolute colorimetric clipping
SWS_INTENT_NB = 4
< not part of the ABI
trait 实现§
impl Copy for SwsIntent
impl Eq for SwsIntent
impl StructuralPartialEq for SwsIntent
自动 trait 实现§
impl Freeze for SwsIntent
impl RefUnwindSafe for SwsIntent
impl Send for SwsIntent
impl Sync for SwsIntent
impl Unpin for SwsIntent
impl UnsafeUnpin for SwsIntent
impl UnwindSafe for SwsIntent
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
从拥有的值可变地借用。 阅读更多