pub struct TimedChunk {
pub text: String,
pub start_ms: f64,
pub end_ms: f64,
}Expand description
A narration chunk with timing information, used by media planners.
Fields§
§text: StringThe text content of this chunk.
start_ms: f64Start time in milliseconds.
end_ms: f64End time in milliseconds.
Trait Implementations§
Source§impl Clone for TimedChunk
impl Clone for TimedChunk
Source§fn clone(&self) -> TimedChunk
fn clone(&self) -> TimedChunk
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 TimedChunk
impl RefUnwindSafe for TimedChunk
impl Send for TimedChunk
impl Sync for TimedChunk
impl Unpin for TimedChunk
impl UnsafeUnpin for TimedChunk
impl UnwindSafe for TimedChunk
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