pub struct TimecodeFrames { /* private fields */ }
Implementations§
Source§impl TimecodeFrames
impl TimecodeFrames
pub fn new( frame_rate: FrameRate, number_of_frames: u8, drop_frame: bool, color_frame: bool, ) -> Self
pub fn frame_rate(&self) -> FrameRate
pub fn number_of_frames(&self) -> u8
pub fn drop_frame(&self) -> bool
pub fn color_frame(&self) -> bool
pub fn number_of_digits(&self) -> usize
pub fn separator(&self) -> char
Trait Implementations§
Source§impl Clone for TimecodeFrames
impl Clone for TimecodeFrames
Source§fn clone(&self) -> TimecodeFrames
fn clone(&self) -> TimecodeFrames
Returns a copy 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 moreSource§impl Debug for TimecodeFrames
impl Debug for TimecodeFrames
Source§impl<'de> Deserialize<'de> for TimecodeFrames
impl<'de> Deserialize<'de> for TimecodeFrames
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TimecodeFrames
impl Display for TimecodeFrames
Source§impl PartialEq for TimecodeFrames
impl PartialEq for TimecodeFrames
Source§impl Serialize for TimecodeFrames
impl Serialize for TimecodeFrames
impl StructuralPartialEq for TimecodeFrames
Auto Trait Implementations§
impl Freeze for TimecodeFrames
impl RefUnwindSafe for TimecodeFrames
impl Send for TimecodeFrames
impl Sync for TimecodeFrames
impl Unpin for TimecodeFrames
impl UnwindSafe for TimecodeFrames
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