[−][src]Struct gstreamer_video::VideoTimeCodeInterval
A representation of a difference between two VideoTimeCode
instances.
Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)
Feature: v1_12
Implementations
impl VideoTimeCodeInterval
[src]
pub fn new(hours: u32, minutes: u32, seconds: u32, frames: u32) -> Self
[src]
Feature: v1_12
hours
the hours field of VideoTimeCodeInterval
minutes
the minutes field of VideoTimeCodeInterval
seconds
the seconds field of VideoTimeCodeInterval
frames
the frames field of VideoTimeCodeInterval
Returns
a new VideoTimeCodeInterval
with the given values.
pub fn get_hours(&self) -> u32
[src]
pub fn set_hours(&mut self, hours: u32)
[src]
pub fn get_minutes(&self) -> u32
[src]
pub fn set_minutes(&mut self, minutes: u32)
[src]
pub fn get_seconds(&self) -> u32
[src]
pub fn set_seconds(&mut self, seconds: u32)
[src]
pub fn get_frames(&self) -> u32
[src]
pub fn set_frames(&mut self, frames: u32)
[src]
Trait Implementations
impl Clone for VideoTimeCodeInterval
[src]
fn clone(&self) -> VideoTimeCodeInterval
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VideoTimeCodeInterval
[src]
impl Display for VideoTimeCodeInterval
[src]
impl Eq for VideoTimeCodeInterval
[src]
impl FromStr for VideoTimeCodeInterval
[src]
type Err = BoolError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, BoolError>
[src]
impl Ord for VideoTimeCodeInterval
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<VideoTimeCodeInterval> for VideoTimeCodeInterval
[src]
impl PartialOrd<VideoTimeCodeInterval> for VideoTimeCodeInterval
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Send for VideoTimeCodeInterval
[src]
impl StaticType for VideoTimeCodeInterval
[src]
fn static_type() -> Type
[src]
impl Sync for VideoTimeCodeInterval
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoTimeCodeInterval
impl Unpin for VideoTimeCodeInterval
impl UnwindSafe for VideoTimeCodeInterval
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>,