pub struct Matte {
pub source: ClipId,
pub mode: MatteMode,
}Expand description
Another visual clip whose picture sets where this clip is visible.
The matte clip is drawn, with its own transform and effects, only into the matte; a clip that is any clip’s matte is never composited itself. Where the matte clip is not active, its coverage is zero.
Fields§
§source: ClipIdThe clip whose picture is the matte.
mode: MatteModeWhat of that picture is the coverage.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Matte
impl<'de> Deserialize<'de> for Matte
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 StructuralPartialEq for Matte
Auto Trait Implementations§
impl Freeze for Matte
impl RefUnwindSafe for Matte
impl Send for Matte
impl Sync for Matte
impl Unpin for Matte
impl UnsafeUnpin for Matte
impl UnwindSafe for Matte
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