pub struct AnimationEntry {
pub node_name: String,
pub param: &'static str,
pub track: AnimationTrack<f64>,
pub suffix: &'static str,
}Expand description
A registered animation track for a specific filter parameter.
Accumulated in crate::FilterGraphBuilder and transferred to
crate::FilterGraph on build().
Per-frame avfilter_graph_send_command updates are applied during playback
in issue #363.
Fields§
§node_name: StringFFmpeg filter node name, e.g. "crop_0" or "gblur_0".
param: &'static strFFmpeg send_command parameter name, e.g. "w", "h", "x", "y",
or "sigma".
track: AnimationTrack<f64>The animation track providing the value over time.
suffix: &'static strOptional suffix appended to the formatted value before sending, e.g.
"dB" for the volume filter. Use "" for dimensionless parameters.
Trait Implementations§
Source§impl Clone for AnimationEntry
impl Clone for AnimationEntry
Source§fn clone(&self) -> AnimationEntry
fn clone(&self) -> AnimationEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimationEntry
impl RefUnwindSafe for AnimationEntry
impl Send for AnimationEntry
impl Sync for AnimationEntry
impl Unpin for AnimationEntry
impl UnsafeUnpin for AnimationEntry
impl UnwindSafe for AnimationEntry
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