pub struct VitcEncoder { /* private fields */ }Expand description
VITC encoder
Implementations§
Source§impl VitcEncoder
impl VitcEncoder
Sourcepub fn new(config: VitcWriterConfig) -> Self
pub fn new(config: VitcWriterConfig) -> Self
Create a new VITC encoder
Sourcepub fn encode_line(
&mut self,
timecode: &Timecode,
field: u8,
) -> Result<Vec<u8>, TimecodeError>
pub fn encode_line( &mut self, timecode: &Timecode, field: u8, ) -> Result<Vec<u8>, TimecodeError>
Encode a timecode to pixel data for a video line
Auto Trait Implementations§
impl Freeze for VitcEncoder
impl RefUnwindSafe for VitcEncoder
impl Send for VitcEncoder
impl Sync for VitcEncoder
impl Unpin for VitcEncoder
impl UnsafeUnpin for VitcEncoder
impl UnwindSafe for VitcEncoder
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