#[repr(C)]pub struct TimeCode { /* private fields */ }
Expand description
Time code
Implementations§
Source§impl TimeCode
impl TimeCode
Sourcepub fn type_(&self) -> TimeCodeType
pub fn type_(&self) -> TimeCodeType
Type of time code
Sourcepub fn flags(&self) -> TimeCodeFlag
pub fn flags(&self) -> TimeCodeFlag
Time code flags
Source§impl TimeCode
impl TimeCode
Sourcepub fn set_type_(&mut self, val: TimeCodeType) -> &mut Self
pub fn set_type_(&mut self, val: TimeCodeType) -> &mut Self
Type of time code
Sourcepub fn set_flags(&mut self, val: TimeCodeFlag) -> &mut Self
pub fn set_flags(&mut self, val: TimeCodeFlag) -> &mut Self
Time code flags
Sourcepub fn set_frames(&mut self, val: u8) -> &mut Self
pub fn set_frames(&mut self, val: u8) -> &mut Self
Number of frames left
Sourcepub fn set_seconds(&mut self, val: u8) -> &mut Self
pub fn set_seconds(&mut self, val: u8) -> &mut Self
Number of seconds left
Sourcepub fn set_minutes(&mut self, val: u8) -> &mut Self
pub fn set_minutes(&mut self, val: u8) -> &mut Self
Number of minutes left
Trait Implementations§
impl Copy for TimeCode
Auto Trait Implementations§
impl Freeze for TimeCode
impl RefUnwindSafe for TimeCode
impl Send for TimeCode
impl Sync for TimeCode
impl Unpin for TimeCode
impl UnwindSafe for TimeCode
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