pub enum MatteMode {
Alpha,
AlphaInverted,
Luma,
LumaInverted,
}Expand description
Which property of the matte clip’s picture is coverage.
Variants§
Alpha
Its alpha.
AlphaInverted
One minus its alpha.
Luma
Its luminance over black: BT.709 weights on linear light, times alpha.
LumaInverted
One minus that luminance.
Trait Implementations§
impl Copy for MatteMode
Source§impl<'de> Deserialize<'de> for MatteMode
impl<'de> Deserialize<'de> for MatteMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MatteMode
impl StructuralPartialEq for MatteMode
Auto Trait Implementations§
impl Freeze for MatteMode
impl RefUnwindSafe for MatteMode
impl Send for MatteMode
impl Sync for MatteMode
impl Unpin for MatteMode
impl UnsafeUnpin for MatteMode
impl UnwindSafe for MatteMode
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