pub enum IssueKind {
OverlappingClips {
track_index: usize,
clip_a: u64,
clip_b: u64,
},
Gap {
track_index: usize,
gap_start: i64,
gap_end: i64,
},
ZeroDurationClip {
track_index: usize,
clip_id: u64,
},
InvalidSourceRange {
track_index: usize,
clip_id: u64,
source_in: i64,
source_out: i64,
},
NegativeTimelineStart {
track_index: usize,
clip_id: u64,
start: i64,
},
InvalidSpeed {
track_index: usize,
clip_id: u64,
speed: f64,
},
DuplicateClipId {
clip_id: u64,
},
OpacityOutOfRange {
track_index: usize,
clip_id: u64,
opacity: f32,
},
EmptyTrack {
track_index: usize,
},
DurationMismatch {
reported: i64,
actual: i64,
},
}Expand description
Specific type of validation finding.
Variants§
OverlappingClips
Two clips on the same track overlap in time.
Gap
A gap exists between consecutive clips on a track.
Fields
ZeroDurationClip
A clip has zero or negative duration.
InvalidSourceRange
A clip’s source_in >= source_out.
Fields
NegativeTimelineStart
A clip has a negative timeline start.
Fields
InvalidSpeed
Clip speed is zero or negative.
Fields
DuplicateClipId
Duplicate clip ID found across the timeline.
OpacityOutOfRange
A clip’s opacity is outside [0.0, 1.0].
Fields
EmptyTrack
An empty track (no clips).
DurationMismatch
Timeline reported duration does not match actual clip extents.
Trait Implementations§
impl StructuralPartialEq for IssueKind
Auto Trait Implementations§
impl Freeze for IssueKind
impl RefUnwindSafe for IssueKind
impl Send for IssueKind
impl Sync for IssueKind
impl Unpin for IssueKind
impl UnsafeUnpin for IssueKind
impl UnwindSafe for IssueKind
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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