[−][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
Methods
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, hours: u32)
[src]
Trait Implementations
impl Clone for VideoTimeCodeInterval
[src][+]
impl Debug for VideoTimeCodeInterval
[src][+]
impl Display for VideoTimeCodeInterval
[src][+]
impl Eq for VideoTimeCodeInterval
[src]
impl FromStr for VideoTimeCodeInterval
[src][+]
impl Ord for VideoTimeCodeInterval
[src][+]
impl PartialEq<VideoTimeCodeInterval> for VideoTimeCodeInterval
[src][+]
impl PartialOrd<VideoTimeCodeInterval> for VideoTimeCodeInterval
[src][+]
impl Send for VideoTimeCodeInterval
[src]
impl StaticType for VideoTimeCodeInterval
[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,
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,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src][+]
T: ToValue + SetValue + Send + ?Sized,
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>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,