#[non_exhaustive]pub enum DuplicateLoopEndpointError {
NoTracks,
InvalidValueCount {
track: usize,
key_count: usize,
value_count: usize,
interpolation: Interpolation,
},
InvalidValueStorage {
track: usize,
},
NonFinite {
track: Option<usize>,
},
NonIncreasingTime {
track: usize,
},
TimelineMismatch {
track: usize,
},
DurationMismatch {
track: usize,
},
}Expand description
Failure while analyzing a duplicate loop endpoint.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoTracks
The clip has no tracks.
InvalidValueCount
Stored value count does not exactly match the interpolation mode.
Fields
§
interpolation: InterpolationInterpolation mode that determines values per key.
InvalidValueStorage
A property uses incompatible value storage.
NonFinite
A duration, key time, or stored value is non-finite.
NonIncreasingTime
A timeline is not strictly increasing.
TimelineMismatch
A track differs from the exact common authored timeline.
DurationMismatch
A final key time does not equal the declared duration.
Trait Implementations§
Source§impl Clone for DuplicateLoopEndpointError
impl Clone for DuplicateLoopEndpointError
Source§fn clone(&self) -> DuplicateLoopEndpointError
fn clone(&self) -> DuplicateLoopEndpointError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DuplicateLoopEndpointError
impl Debug for DuplicateLoopEndpointError
Source§impl Display for DuplicateLoopEndpointError
impl Display for DuplicateLoopEndpointError
Source§impl Error for DuplicateLoopEndpointError
impl Error for DuplicateLoopEndpointError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for DuplicateLoopEndpointError
Auto Trait Implementations§
impl Freeze for DuplicateLoopEndpointError
impl RefUnwindSafe for DuplicateLoopEndpointError
impl Send for DuplicateLoopEndpointError
impl Sync for DuplicateLoopEndpointError
impl Unpin for DuplicateLoopEndpointError
impl UnsafeUnpin for DuplicateLoopEndpointError
impl UnwindSafe for DuplicateLoopEndpointError
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