Struct gstreamer_video::VideoTimeCodeInterval
source · pub struct VideoTimeCodeInterval(_);
Implementations§
source§impl VideoTimeCodeInterval
impl VideoTimeCodeInterval
pub fn new(hours: u32, minutes: u32, seconds: u32, frames: u32) -> Self
pub fn hours(&self) -> u32
pub fn set_hours(&mut self, hours: u32)
pub fn minutes(&self) -> u32
pub fn set_minutes(&mut self, minutes: u32)
pub fn seconds(&self) -> u32
pub fn set_seconds(&mut self, seconds: u32)
pub fn frames(&self) -> u32
pub fn set_frames(&mut self, frames: u32)
Trait Implementations§
source§impl Clone for VideoTimeCodeInterval
impl Clone for VideoTimeCodeInterval
source§fn clone(&self) -> VideoTimeCodeInterval
fn clone(&self) -> VideoTimeCodeInterval
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VideoTimeCodeInterval
impl Debug for VideoTimeCodeInterval
source§impl Display for VideoTimeCodeInterval
impl Display for VideoTimeCodeInterval
source§impl FromStr for VideoTimeCodeInterval
impl FromStr for VideoTimeCodeInterval
source§impl Ord for VideoTimeCodeInterval
impl Ord for VideoTimeCodeInterval
source§impl PartialEq<VideoTimeCodeInterval> for VideoTimeCodeInterval
impl PartialEq<VideoTimeCodeInterval> for VideoTimeCodeInterval
source§impl PartialOrd<VideoTimeCodeInterval> for VideoTimeCodeInterval
impl PartialOrd<VideoTimeCodeInterval> for VideoTimeCodeInterval
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for VideoTimeCodeInterval
impl StaticType for VideoTimeCodeInterval
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ValueType for VideoTimeCodeInterval
impl ValueType for VideoTimeCodeInterval
§type Type = VideoTimeCodeInterval
type Type = VideoTimeCodeInterval
Type to get the
Type
from. Read moreimpl Eq for VideoTimeCodeInterval
impl Send for VideoTimeCodeInterval
impl Sync for VideoTimeCodeInterval
impl ValueTypeOptional for VideoTimeCodeInterval
Auto Trait Implementations§
impl RefUnwindSafe for VideoTimeCodeInterval
impl Unpin for VideoTimeCodeInterval
impl UnwindSafe for VideoTimeCodeInterval
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.