pub struct TimelineResponse {
pub edited: bool,
pub seeked: bool,
pub dropped_files: Vec<(PathBuf, f64, Option<usize>)>,
pub dropped_other: Vec<(DragPayload, f64, Option<usize>)>,
pub actions: Vec<Action>,
pub replace_container: Option<(u64, bool)>,
pub open_sequence: Option<u64>,
pub edit_labels: bool,
}Fields§
§edited: boolThe project was mutated (app marks dirty & re-renders).
seeked: boolThe playhead was moved by the user.
dropped_files: Vec<(PathBuf, f64, Option<usize>)>Files dropped via dnd DragPayload::Path — (path, timeline time, track index).
dropped_other: Vec<(DragPayload, f64, Option<usize>)>Other dnd payloads (Sequence / Template / Effect / Transition) dropped on the lanes — the app places them; an Effect or a Transition goes onto the clip that contains the reported time.
actions: Vec<Action>Actions requested from the timeline’s context menus (Retime, AddTransition, FreezeFrame, AutoCut, …).
replace_container: Option<(u64, bool)>Container media replacement request — (clip id, pair mode).
open_sequence: Option<u64>A Sequence clip was double-clicked — the app calls Project::open_sequence with this sequence id.
edit_labels: bool“Edit labels…” was picked in a clip’s colour submenu — the app opens its label editor.
Trait Implementations§
Source§impl Default for TimelineResponse
impl Default for TimelineResponse
Source§fn default() -> TimelineResponse
fn default() -> TimelineResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimelineResponse
impl RefUnwindSafe for TimelineResponse
impl Send for TimelineResponse
impl Sync for TimelineResponse
impl Unpin for TimelineResponse
impl UnwindSafe for TimelineResponse
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more