Struct gstreamer_video::ValidVideoTimeCode [−][src]
pub struct ValidVideoTimeCode(_);
Implementations
impl ValidVideoTimeCode[src]
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>
This is supported on crate feature
v1_10 only.pub fn add_frames(&mut self, frames: i64)[src]
This is supported on crate feature
v1_10 only.pub fn add_interval(
&self,
tc_inter: &VideoTimeCodeInterval
) -> Result<Self, BoolError>[src]
&self,
tc_inter: &VideoTimeCodeInterval
) -> Result<Self, BoolError>
This is supported on crate features
v1_10 and v1_12 only.pub fn frames_since_daily_jam(&self) -> u64[src]
This is supported on crate feature
v1_10 only.pub fn increment_frame(&mut self)[src]
This is supported on crate feature
v1_10 only.pub fn nsec_since_daily_jam(&self) -> u64[src]
This is supported on crate feature
v1_10 only.pub fn to_date_time(&self) -> Result<DateTime, BoolError>[src]
This is supported on crate feature
v1_10 only.impl ValidVideoTimeCode[src]
impl ValidVideoTimeCode[src]pub fn hours(&self) -> u32[src]
This is supported on crate feature
v1_10 only.pub fn minutes(&self) -> u32[src]
This is supported on crate feature
v1_10 only.pub fn seconds(&self) -> u32[src]
This is supported on crate feature
v1_10 only.pub fn frames(&self) -> u32[src]
This is supported on crate feature
v1_10 only.pub fn field_count(&self) -> u32[src]
This is supported on crate feature
v1_10 only.pub fn fps(&self) -> Fraction[src]
This is supported on crate feature
v1_10 only.pub fn flags(&self) -> VideoTimeCodeFlags[src]
This is supported on crate feature
v1_10 only.pub fn latest_daily_jam(&self) -> Option<DateTime>[src]
This is supported on crate feature
v1_10 only.pub fn set_latest_daily_jam(&mut self, latest_daily_jam: Option<&DateTime>)[src]
This is supported on crate feature
v1_10 only.Trait Implementations
impl Clone for ValidVideoTimeCode[src]
impl Clone for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl Debug for ValidVideoTimeCode[src]
impl Debug for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl Display for ValidVideoTimeCode[src]
impl Display for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl Drop for ValidVideoTimeCode[src]
impl Drop for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl From<ValidVideoTimeCode> for VideoTimeCode[src]
impl From<ValidVideoTimeCode> for VideoTimeCode[src]This is supported on crate feature
v1_10 only.fn from(v: ValidVideoTimeCode) -> Self[src]
fn from(v: ValidVideoTimeCode) -> Self[src]Performs the conversion.
impl Ord for ValidVideoTimeCode[src]
impl Ord for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl PartialEq<ValidVideoTimeCode> for ValidVideoTimeCode[src]
impl PartialEq<ValidVideoTimeCode> for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl PartialOrd<ValidVideoTimeCode> for ValidVideoTimeCode[src]
impl PartialOrd<ValidVideoTimeCode> for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl StaticType for ValidVideoTimeCode[src]
impl StaticType for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.fn static_type() -> Type[src]
fn static_type() -> Type[src]Returns the type identifier of Self.
impl TryFrom<VideoTimeCode> for ValidVideoTimeCode[src]
impl TryFrom<VideoTimeCode> for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.type Error = VideoTimeCode
type Error = VideoTimeCodeThe type returned in the event of a conversion error.
fn try_from(v: VideoTimeCode) -> Result<Self, VideoTimeCode>[src]
fn try_from(v: VideoTimeCode) -> Result<Self, VideoTimeCode>[src]Performs the conversion.
impl ValueType for ValidVideoTimeCode[src]
impl ValueType for ValidVideoTimeCode[src]This is supported on crate feature
v1_10 only.impl Eq for ValidVideoTimeCode[src]
This is supported on crate feature
v1_10 only.impl Send for ValidVideoTimeCode[src]
This is supported on crate feature
v1_10 only.impl Sync for ValidVideoTimeCode[src]
This is supported on crate feature
v1_10 only.Auto Trait Implementations
impl RefUnwindSafe for ValidVideoTimeCode
impl Unpin for ValidVideoTimeCode
impl UnwindSafe for ValidVideoTimeCode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized, [src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized, [src]pub fn to_send_value(&self) -> SendValue[src]
pub fn to_send_value(&self) -> SendValue[src]Returns a SendValue clone of self.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>, [src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,