pub struct Overlay {
pub mask: Arc<Mask>,
pub parts: Vec<OverlayPart>,
pub from: i64,
pub to: i64,
pub fade_in: f64,
pub fade_out: f64,
pub motion: Option<Arc<Motion>>,
pub under: Option<usize>,
}Expand description
A mask drawn over output frames from..to (pipeline frame indices, 0 = the first frame
output), fading in over the first fade_in frames and out over the last fade_out.
Fields§
§mask: Arc<Mask>§parts: Vec<OverlayPart>§from: i64§to: i64§fade_in: f64§fade_out: f64§motion: Option<Arc<Motion>>Per-frame placements, replacing parts (the fades still apply).
under: Option<usize>Drawn under the pipeline’s layer n (and every one above it); None is above them all.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Overlay
Auto Trait Implementations§
impl Forget for Overlay
impl Freeze for Overlay
impl RefUnwindSafe for Overlay
impl Send for Overlay
impl Sync for Overlay
impl Unpin for Overlay
impl UnsafeUnpin for Overlay
impl UnwindSafe for Overlay
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