[−][src]Struct gstreamer_video::ValidVideoTimeCode
Implementations
impl ValidVideoTimeCode[src]
pub fn new(
fps: Fraction,
latest_daily_jam: Option<&DateTime>,
flags: VideoTimeCodeFlags,
hours: u32,
minutes: u32,
seconds: u32,
frames: u32,
field_count: u32
) -> Result<Self, BoolError>[src]
fps: Fraction,
latest_daily_jam: Option<&DateTime>,
flags: VideoTimeCodeFlags,
hours: u32,
minutes: u32,
seconds: u32,
frames: u32,
field_count: u32
) -> Result<Self, BoolError>
pub fn add_frames(&mut self, frames: i64)[src]
pub fn add_interval(
&self,
tc_inter: &VideoTimeCodeInterval
) -> Result<ValidVideoTimeCode, BoolError>[src]
&self,
tc_inter: &VideoTimeCodeInterval
) -> Result<ValidVideoTimeCode, BoolError>
pub fn frames_since_daily_jam(&self) -> u64[src]
pub fn increment_frame(&mut self)[src]
pub fn nsec_since_daily_jam(&self) -> u64[src]
pub fn to_date_time(&self) -> Result<DateTime, BoolError>[src]
impl ValidVideoTimeCode[src]
pub fn get_hours(&self) -> u32[src]
pub fn get_minutes(&self) -> u32[src]
pub fn get_seconds(&self) -> u32[src]
pub fn get_frames(&self) -> u32[src]
pub fn get_field_count(&self) -> u32[src]
pub fn get_fps(&self) -> Fraction[src]
pub fn get_flags(&self) -> VideoTimeCodeFlags[src]
pub fn get_latest_daily_jam(&self) -> Option<DateTime>[src]
pub fn set_latest_daily_jam(&mut self, latest_daily_jam: Option<&DateTime>)[src]
Trait Implementations
impl Clone for ValidVideoTimeCode[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ValidVideoTimeCode[src]
impl Display for ValidVideoTimeCode[src]
impl Drop for ValidVideoTimeCode[src]
impl Eq for ValidVideoTimeCode[src]
impl From<ValidVideoTimeCode> for VideoTimeCode[src]
fn from(v: ValidVideoTimeCode) -> VideoTimeCode[src]
impl Ord for ValidVideoTimeCode[src]
fn cmp(&self, other: &Self) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<ValidVideoTimeCode> for ValidVideoTimeCode[src]
impl PartialOrd<ValidVideoTimeCode> for ValidVideoTimeCode[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool1.0.0[src]
impl Send for ValidVideoTimeCode[src]
impl StaticType for ValidVideoTimeCode[src]
fn static_type() -> Type[src]
impl Sync for ValidVideoTimeCode[src]
impl TryFrom<VideoTimeCode> for ValidVideoTimeCode[src]
type Error = VideoTimeCode
The type returned in the event of a conversion error.
fn try_from(v: VideoTimeCode) -> Result<ValidVideoTimeCode, VideoTimeCode>[src]
Auto Trait Implementations
impl RefUnwindSafe for ValidVideoTimeCode
impl Unpin for ValidVideoTimeCode
impl UnwindSafe for ValidVideoTimeCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized, [src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized, [src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,