pub enum MtmdVideoItem {
Frame(MtmdBitmap),
Text(String),
}Expand description
One item read from a MtmdVideo stream by MtmdVideo::read_next.
Variants§
Frame(MtmdBitmap)
A decoded video frame, ready to be tokenized like any other image
MtmdBitmap.
Text(String)
A timestamp text marker (e.g. "[10m50.5s]") to be inserted into the
prompt between frames.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MtmdVideoItem
impl RefUnwindSafe for MtmdVideoItem
impl Send for MtmdVideoItem
impl Sync for MtmdVideoItem
impl Unpin for MtmdVideoItem
impl UnsafeUnpin for MtmdVideoItem
impl UnwindSafe for MtmdVideoItem
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