Struct vtc::FeetFramesStr
source · pub struct FeetFramesStr<'a> { /* private fields */ }
Expand description
A struct that bundles a str together with a format, to hint parsing.
This struct, which implelements [FrameSource], allows you to include a format hint to the footage parser, which will override its default inference.
Implementations§
source§impl<'a> FeetFramesStr<'a>
impl<'a> FeetFramesStr<'a>
sourcepub fn new(input: &'a str, format: FilmFormat) -> Self
pub fn new(input: &'a str, format: FilmFormat) -> Self
Create a FeetFramesStr object from a string and a FilmFormat.
Trait Implementations§
source§impl<'a> Debug for FeetFramesStr<'a>
impl<'a> Debug for FeetFramesStr<'a>
source§impl<'a> FramesSource for FeetFramesStr<'a>
impl<'a> FramesSource for FeetFramesStr<'a>
source§fn to_frames(&self, _rate: Framerate) -> FramesSourceResult
fn to_frames(&self, _rate: Framerate) -> FramesSourceResult
Returns the number of frames this value represents.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FeetFramesStr<'a>
impl<'a> Send for FeetFramesStr<'a>
impl<'a> Sync for FeetFramesStr<'a>
impl<'a> Unpin for FeetFramesStr<'a>
impl<'a> UnwindSafe for FeetFramesStr<'a>
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