pub struct Span {
pub from: i64,
pub to: i64,
pub frames: i64,
pub rate: f64,
pub delay: f64,
}Expand description
The timing of a clip in a segment, in frames relative to the segment’s first frame.
Fields§
§from: i64First and end (exclusive) frame the text shows (after its delay).
to: i64§frames: i64Frames in the segment.
rate: f64§delay: f64Seconds from the clip’s start to from (keyframe times count from the clip’s start).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Span
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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