pub struct TcList;Expand description
A collection of IN/OUT timecode pairs.
Implementations§
Source§impl TcList
impl TcList
Sourcepub fn from_csv_with_rate(
csv: &str,
frame_rate: FrameRate,
) -> Vec<(Timecode, Timecode)>
pub fn from_csv_with_rate( csv: &str, frame_rate: FrameRate, ) -> Vec<(Timecode, Timecode)>
Parse a CSV (or TSV) string and return all valid IN/OUT pairs.
Invalid rows (parse errors, missing fields, etc.) are silently skipped.
The frame_rate parameter is applied to all parsed timecodes.
Auto Trait Implementations§
impl Freeze for TcList
impl RefUnwindSafe for TcList
impl Send for TcList
impl Sync for TcList
impl Unpin for TcList
impl UnsafeUnpin for TcList
impl UnwindSafe for TcList
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